await_dialog library

Functions

showAwaitDialog<T>(BuildContext context, {Widget message, Future<T> function(BuildContext context, dynamic updateMessage(Widget message)), Color barrierColor, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings routeSettings}) Future<T>
Displays a dialog with a CircularProgressIndicator while a process is running. [...]