EasyAlert class

EasyAlert

Constructors

EasyAlert()

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 EasyAlertType type, EasyAlertAnimType animType = EasyAlertAnimType.scale, bool barrierDismissible = true, VoidCallback? onConfirmBtnTap, VoidCallback? onCancelBtnTap, String confirmBtnText = 'Okay', String cancelBtnText = 'Cancel', Color confirmBtnColor = Colors.blue, TextStyle? confirmBtnTextStyle, TextStyle? cancelBtnTextStyle, Color backgroundColor = Colors.white, Color titleColor = Colors.black, Color textColor = Colors.black, Color? barrierColor, 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.