future_alert 0.0.7 future_alert: ^0.0.7 copied to clipboard
Flutter package to display alerts
Future_Alert #
A Flutter plugin for showing alert dialog integrated with async await.
Usage #
Just one line:
Example
FutureAlert.warning(context, "Warning!", "Wow that didn't go well");
Await Async
await FutureAlert.done(context, "Done", "This alert has shown correctly");
Question
bool result = FutureAlert.question(context, "What'd you say?", "Choose wisely");
The result will be true/false
:
Examples #
Done | Question |
---|---|