AlertUtil class

Constructors

AlertUtil()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

showAlert(BuildContext? context, {bool barrierDismissible = false, required Widget alertViewBulider(BuildContext context)}) Future
showCancelOKAlert({BuildContext? context, bool barrierDismissible = false, String? title, String? message, TextAlign? messageAlign, String? cancelTitle, dynamic cancelHandle()?, dynamic closeHandle()?, String? okTitle, required dynamic okHandle()}) Future
showFlexWidthButtonsAlert({BuildContext? context, bool barrierDismissible = false, String? title, String? message, required List<String> buttonTitles, required void onPressedButton(int buttonIndex)}) Future
showIKnowAlert(BuildContext? context, {bool barrierDismissible = false, String? title, String? message, RichText? richTextWidget, String? confirmText, TextAlign? messageAlign, bool showCloseButton = true, void iKnowHandle()?, bool? scrollable}) Future
我知道了 context可空
showTwoActionAlert({BuildContext? context, String? title, String? message, String? cancelTitle, dynamic cancelHandle()?, String? okTitle, required dynamic okHandle()}) Future