showNoticeDialog method
void
showNoticeDialog({
- DialogIcon? icon,
- String? title,
- String? message,
- Widget? content,
- String confirmText = '确认',
- Function? onConfirm,
- bool barrierDismissible = true,
- Color? barrierColor,
- bool useSafeArea = true,
- Object? arguments,
- Duration? transitionDuration,
- Curve? transitionCurve,
- String? name,
- RouteSettings? routeSettings,
- 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,
);
}