showNoticeDialog method

void showNoticeDialog({
  1. DialogIcon? icon,
  2. String? title,
  3. String? message,
  4. Widget? content,
  5. String confirmText = '确认',
  6. Function? onConfirm,
  7. bool barrierDismissible = true,
  8. Color? barrierColor,
  9. bool useSafeArea = true,
  10. GlobalKey<NavigatorState>? navigatorKey,
  11. Object? arguments,
  12. Duration? transitionDuration,
  13. Curve? transitionCurve,
  14. String? name,
  15. RouteSettings? routeSettings,
  16. double? width,
})

Implementation

void showNoticeDialog({
  DialogIcon? icon,
  String? title,
  String? message,
  Widget? content,
  String confirmText = '确认',
  Function? onConfirm,
  bool barrierDismissible = true,
  Color? barrierColor,
  bool useSafeArea = true,
  GlobalKey<NavigatorState>? navigatorKey,
  Object? arguments,
  Duration? transitionDuration,
  Curve? transitionCurve,
  String? name,
  RouteSettings? routeSettings,
  double? width,
}) {
  Get.dialog(
    _buildDialog(
      icon: icon,
      title: title,
      message: message,
      content: content,
      confirmText: confirmText,
      onConfirm: onConfirm,
      width: width,
    ),
    barrierDismissible: barrierDismissible,
    barrierColor: barrierColor,
    useSafeArea: useSafeArea,
    navigatorKey: navigatorKey,
    arguments: arguments,
    transitionDuration: transitionDuration,
    transitionCurve: transitionCurve,
    name: name,
    routeSettings: routeSettings,
  );
}