This document describes the migration from the v1 to the v2 version of the Giffy Dialog package.
- The
NetworkGiffyDialogclass has been replaced with theGiffyDialog.imageconstructor. - The
imageproperty in the old API is now can be set using theImage.networkin the new API.
- The
AssetGiffyDialogclass has been replaced with theGiffyDialog.imageconstructor. - The
imageproperty in the old API is now can be set using theImage.assetin the new API.
- The
FlareGiffyDialogclass has been replaced with theGiffyDialog.riveconstructor. - The
flarePathandflareAnimationproperties in the old API is now can be set using theriveproperty of typeRiveAnimationin the new API.
- The
descriptionproperty in the old API is now can be set using thecontentwidget in the new API. - The
onOkButtonPressedandonCancelButtonPressedproperties in the old API are replaced with theactionsproperty in the new API to handle button actions. - The
onlyOkButton,onlyCancelButton,buttonOkText,buttonCancelTextand all the other button related properties in the old API is no longer available and has been replaced with theactionsproperty in the new API to handle button actions. - The
cornerRadiusproperty in the old API is now can be set using theshapeproperty in the new API.