showDialog<T> method

Future<T?> showDialog<T>(
  1. {required BuildContext context,
  2. required WidgetBuilder builder,
  3. bool barrierDismissible = true,
  4. Color? barrierColor = m.Colors.black54,
  5. String? barrierLabel,
  6. bool useSafeArea = false,
  7. bool useRootNavigator = true,
  8. RouteSettings? routeSettings}
)

Implementation

Future<T?> showDialog<T>({
  required m.BuildContext context,
  required m.WidgetBuilder builder,
  bool barrierDismissible = true,
  m.Color? barrierColor = m.Colors.black54,
  String? barrierLabel,
  bool useSafeArea = false,
  bool useRootNavigator = true,
  m.RouteSettings? routeSettings,
}) =>
    m.showDialog(
      context: context,
      barrierDismissible: barrierDismissible,
      barrierColor: barrierColor,
      barrierLabel: barrierLabel,
      useSafeArea: useSafeArea,
      useRootNavigator: useRootNavigator,
      builder: (ctx) => m.Builder(builder: builder),
    );