ButterflyAlertDialog class abstract
A utility class for displaying customizable alert dialogs.
Constructors
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, required String title, required String subtitle, required AlertType alertType, Color backgroundColor = Colors.white, double titleFontSize = 20.0, double subTitleFontSize = 16.0, double iconSize = 30.0, String cancelText = 'Cancel', String confirmText = 'Ok', required VoidCallback onConfirm, TextStyle cancelTextStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.bold), TextStyle confirmTextStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.bold), bool barrierDismissible = true}) → void - Displays the alert dialog.