showBaseDialog<T> function

  1. @Deprecated('use [showBaseAlert()] instead')
Future<T?> showBaseDialog<T>({
  1. required BuildContext context,
  2. Color? barrierColor = Colors.black54,
  3. bool barrierDismissible = false,
  4. bool useSafeArea = true,
  5. required WidgetBuilder builder,
})

只针对BaseGeneralAlertDialog设置barrierDismissible有效

Implementation

@Deprecated('use [showBaseAlert()] instead')
Future<T?> showBaseDialog<T>({
  required BuildContext context,
  Color? barrierColor = Colors.black54,
  bool barrierDismissible = false,
  bool useSafeArea = true,
  required WidgetBuilder builder,
}) {
  return showDialog<T>(
      context: context,
      useSafeArea: useSafeArea,
      barrierColor: barrierColor,
      barrierDismissible: barrierDismissible,
      builder: builder);
}