Skip to content

v2.0.0

Compare
Choose a tag to compare
@xsahil03x xsahil03x released this 24 Jun 15:17
· 20 commits to master since this release
57b7286

🚨 Breaking

  • The NetworkGiffyDialog class has been replaced with the GiffyDialog.image constructor.
  • The image property in the old API is now can be set using the Image.network in the new API.
  • The AssetGiffyDialog class has been replaced with the GiffyDialog.image constructor.
  • The image property in the old API is now can be set using the Image.asset in the new API.
  • The FlareGiffyDialog class has been replaced with the GiffyDialog.rive constructor.
  • The flarePath and flareAnimation properties in the old API is now can be set using the rive property of
    type RiveAnimation in the new API.
  • The description property in the old API is now can be set using the content widget in the new API.
  • The onOkButtonPressed and onCancelButtonPressed properties in the old API are replaced with the actions
    property in the new API to handle button actions.
  • The onlyOkButton, onlyCancelButton, buttonOkText, buttonCancelText and all the other button
    related properties in the old API is no longer available and has been replaced with the actions property in the
    new API to handle button actions.
  • The cornerRadius property in the old API is now can be set using the shape property in the new API.
  • A new GiffyDialog.lottie constructor has been added to support Lottie animations.