QuickAlert class

QuickAlert

Constructors

QuickAlert.new()

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

show({required BuildContext context, String? title, String? text, Widget? widget, required QuickAlertType type, QuickAlertAnimType animType = QuickAlertAnimType.scale, bool barrierDismissible = true, VoidCallback? onConfirmBtnTap, VoidCallback? onCancelBtnTap, String confirmBtnText = 'Okay', String cancelBtnText = 'Cancel', Color confirmBtnColor = Colors.blue, TextStyle? confirmBtnTextStyle, TextStyle? cancelBtnTextStyle, bool showCancelBtn = false, double borderRadius = 15.0, String? customAsset, double? width, Duration? autoCloseDuration}) Future
Instantly display animated alert dialogs such as success, error, warning, confirm, loading or even a custom dialog.