await_dialog library Null safety

Functions

showAwaitDialog<T>(BuildContext context, {Key? key, required Widget message, required 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.