easy_popup

Creator: coderz1093

Last updated:

0 purchases

easy_popup Image
easy_popup Images
Add to Cart

Description:

easy popup

flutter_easy_popup #

An easy way to show a flutter custom popup widget.
Example #
cd ./example
flutter create .
flutter run
copied to clipboard
How to use #
Add dependencies #
dependencies:
easy_popup: ^1.0.0
copied to clipboard
1. Define custom popup widget with Mixin EasyPopupChild #
Define your custom popup widget with EasyPopupChild, and implement dismiss function which does work that need to be done while dismiss, eg. show dismiss animation
class CustomWidget extends StatefulWidget with EasyPopupChild {

...

@override
dismiss() {
...
}
}
copied to clipboard
2. Call show function #
EasyPopup.show(context, CustomWidget());
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.