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