app_alerts 0.1.0
app_alerts: ^0.1.0 copied to clipboard
App-wide, prioritized alert delivery for Flutter. Polls (or receives pushed) alerts from a configurable backend source, tracks what has already been presented, and shows urgent pop-up alerts above eve [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add app_alertsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
app_alerts: ^0.1.0Alternatively, 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:app_alerts/app_alerts.dart';