showBaseDialog<T> function
- @Deprecated('use [showBaseAlert()] instead')
- required BuildContext context,
- Color? barrierColor = Colors.black54,
- bool barrierDismissible = false,
- bool useSafeArea = true,
- 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);
}