DialogX class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showCaptchaDialog(List<String> captchaImages, dynamic onConfirm(bool), {String slideBarText = '滑动拼图到正确的位置', double? width}) → void
showConfirmDialog({DialogIcon? icon, String? title, String? message, Widget? content, String confirmText = '确认', String cancelText = '取消', String? moreButtonText, Function? onConfirm, Function? onCancel, Function? onMore, bool barrierDismissible = false, Color? barrierColor, bool useSafeArea = true, GlobalKey<NavigatorState>? navigatorKey, Object? arguments, Duration? transitionDuration, Curve? transitionCurve, String? name, RouteSettings? routeSettings, double? width}) → void
showMenuDialog({String? title, required List<DialogMenuItem> menus}) → 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}) → void
showPromptDialog({DialogIcon? icon = DialogIcon.warn, String? title, String? message, Widget? content, String confirmText = '确认', String? cancelText = '取消', Function? onConfirm, Function? onCancel, bool barrierDismissible = true, Color? barrierColor, bool useSafeArea = true, GlobalKey<NavigatorState>? navigatorKey, Object? arguments, Duration? transitionDuration, Curve? transitionCurve, String? name, RouteSettings? routeSettings, double? width}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

to DialogX
no setter

Constants

errorIcon → const String
infoIcon → const String
questionIcon → const String
successIcon → const String
timeIcon → const String
warnIcon → const String