CoolAlert class

CoolAlert.

Constructors

CoolAlert()

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 CoolAlertType type, CoolAlertAnimType animType = CoolAlertAnimType.scale, bool barrierDismissible = true, VoidCallback? onConfirmBtnTap, VoidCallback? onCancelBtnTap, String confirmBtnText = 'Ok', String cancelBtnText = 'Cancel', Color confirmBtnColor = const Color(0xFF3085D6), TextStyle? confirmBtnTextStyle, TextStyle? cancelBtnTextStyle, TextStyle? titleTextStyle, TextStyle? textTextStyle, bool showCancelBtn = false, double borderRadius = 10.0, Color backgroundColor = const Color(0xFF515C6F), String? flareAsset, String flareAnimationName = 'play', String? lottieAsset, double? width, Duration? autoCloseDuration, bool loopAnimation = false, bool closeOnConfirmBtnTap = true, bool reverseBtnOrder = false}) Future