custom_alert_dialog_box 1.0.2 copy "custom_alert_dialog_box: ^1.0.2" to clipboard
custom_alert_dialog_box: ^1.0.2 copied to clipboard

To be able to show a custom alert box easlly. Simple to import package in your dart file. You can also easily implement this package by going through the example tab.

Usage #

First, add custom_alert_dialog_box as a dependency in your pubspec.yaml file.

dependencies:
  custom_alert_dialog_box: ^1.0.2

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.
When you want to use it, call the CustomAlertDialogBox.showCustomAlertBox() as bellow examples show
await CustomAlertDialogBox.showCustomAlertBox(
    context: context,
    willDisplayWidget: Container(
        child: Text('My custom alert dialog box'),
    ),
);
4
likes
160
points
435
downloads

Publisher

unverified uploader

Weekly Downloads

To be able to show a custom alert box easlly. Simple to import package in your dart file. You can also easily implement this package by going through the example tab.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on custom_alert_dialog_box