showBaseAlert<T> function

Future<T?> showBaseAlert<T>(
  1. Widget widget, {
  2. bool barrierDismissible = true,
  3. Color? barrierColor,
  4. bool useSafeArea = true,
  5. GlobalKey<NavigatorState>? navigatorKey,
  6. Object? arguments,
  7. Duration? transitionDuration,
  8. Curve? transitionCurve,
  9. String? name,
  10. 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,
  );
}