showBaseAlert<T> function
Future<T?>
showBaseAlert<
T>( - Widget widget, {
- bool barrierDismissible = true,
- Color? barrierColor,
- bool useSafeArea = true,
- GlobalKey<NavigatorState>? navigatorKey,
- Object? arguments,
- Duration? transitionDuration,
- Curve? transitionCurve,
- String? name,
- RouteSettings? routeSettings,
})
Implementation
Future<T?> showBaseAlert<T>(
Widget widget, {
bool barrierDismissible = true,
Color? barrierColor,
bool useSafeArea = true,
GlobalKey<NavigatorState>? navigatorKey,
Object? arguments,
Duration? transitionDuration,
Curve? transitionCurve,
String? name,
RouteSettings? routeSettings,
}) {
return Get.dialog<T>(
widget,
barrierDismissible: barrierDismissible,
barrierColor: barrierColor,
useSafeArea: useSafeArea,
navigatorKey: navigatorKey,
arguments: arguments,
transitionDuration: transitionDuration,
transitionCurve: transitionCurve,
name: name,
routeSettings: routeSettings,
);
}