queen_alerts 0.0.2-beta queen_alerts: ^0.0.2-beta copied to clipboard
need to alert user with simple alert ? toast ? dialog ? loading indicator ? queen got your back
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add queen_alerts
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
queen_alerts: ^0.0.2-beta
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:queen_alerts/queen_alerts.dart';