showBaseDialog<T> function

Future<T?> showBaseDialog<T>({
  1. required BuildContext context,
  2. bool barrierDismissible = false,
  3. required WidgetBuilder builder,
})

只针对BaseGeneralAlertDialog设置barrierDismissible有效

Implementation

Future<T?> showBaseDialog<T>({
  required BuildContext context,
  bool barrierDismissible = false,
  required WidgetBuilder builder,
}) {
  return showDialog<T>(
      context: context,
      barrierDismissible: barrierDismissible,
      builder: builder);
}