flutter_app_dialog 0.0.2 flutter_app_dialog: ^0.0.2 copied to clipboard
I have been experimenting with flutter for a while and I stumbled a lot of times making custom widgets from designs for apps. Though flutter is incredibly easy to make UI components, you have to go th [...]
flutter_app_dialog #
flutter app dialog A Flutter plugin for iOS and Android for simple and easy implement dialogs.
Installation #
Add flutter_app_dialog
to your pubspec.yaml
dependencies.
Example #
Info Dialog #
showDialog(
context: context,
builder: (BuildContext context) {
return BaseDialogWidget(
child: InfoDialog() ,
);
});
No internet connection dialog #
showDialog(
context: context,
builder: (BuildContext context) {
return BaseDialogWidget(
child: NoInternetConnectionDialog() ,
);
});
Payment dialog #
showDialog(
context: context,
builder: (BuildContext context) {
return BaseDialogWidget(
child: PaymentDialog() ,
);
});