alert_dialog_box 0.0.2 alert_dialog_box: ^0.0.2 copied to clipboard
This plugin is used for open a dialog box within your project, you only need to pass your custom text to show your messages to user. This works for android, ios and web.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add alert_dialog_box
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
alert_dialog_box: ^0.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:alert_dialog_box/alert_dialog_box.dart';