TinyXContextShowDialog extension

showDialog(context: context, ...) as context.showDialog(...)

on

Methods

showDialog<T>({required WidgetBuilder builder, bool barrierDismissible = true, bool useRootNavigator = true, RouteSettings? routeSettings}) Future<T?>
Displays a Material dialog above the current contents of the app, with Material entrance and exit animations, modal barrier color, and modal barrier behavior (dialog is dismissible with a tap on the barrier).