0 purchases
custom alert dialog box
Usage #
First, add custom_alert_dialog_box as a dependency in your pubspec.yaml file.
dependencies:
custom_alert_dialog_box: ^1.0.2
copied to clipboard
Don't forget to flutter pub get.
Implementation #
To use this Widget,
1: # import 'package:custom_alert_dialog_box/custom_alert_dialog_box.dart'; inside your dart file
2: # Call the widget CustomAlertDialogBox.showCustomAlertBox().
3: # The widget takes in 2 argument: Context and Widget Your Want to Display in Dialog.
copied to clipboard
When you want to use it, call the CustomAlertDialogBox.showCustomAlertBox() as bellow examples show
copied to clipboard
await CustomAlertDialogBox.showCustomAlertBox(
context: context,
willDisplayWidget: Container(
child: Text('My custom alert dialog box'),
),
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.