AwesomeAlert class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isOpened
↔ bool
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
alertImage({required String path, required int type, bool? cancelable = true, Function? onClose, double? width, double? borderRadius, double paddingFromPhoneBorder = 10, double closeIconSize = 25, BoxFit? fit = BoxFit.contain, double? fixedSize})
→ void
-
-
alertList(String title, List<String> items, {String? msg, double? cornerRadius, double? paddingBody = 15, double? paddingScreen = 15, double? buttonCornerRadius = 100, double? heightButtons = 40, double? verticalListSpace = 5, String? titleButton, Function? buttonClick, double? fixedSize})
→ void
-
Method to show an alert with a list of items.
-
alertLoading({Color? backgroundColor, Color? progressColor, double borderRadius = 100, double paddingFromProgress = 10, double sizeProgress = 35, double strokeWidth = 5, Function? onComplete, bool cancelable = false})
→ void
-
-
hideAlert()
→ dynamic
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
showAlert({required String title, required String description, required String confirmText, required Function confirmAction, Function? onComplete, Function? cancelAction, String? cancelText, Color? confirmButtonColor, Color? cancelButtonColor, TextStyle? titleStyle, TextStyle? descriptionStyle, TextStyle? confirmButtonTextStyle, TextStyle? cancelButtonTextStyle, TextAlign? textAlignDescription, Widget? body, bool cancelable = false, double? cornerRadius, double paddingBody = 15, double paddingScreen = 15, double buttonCornerRadius = 100, double heightButtons = 40, bool? isHtml = false, bool? closeButton = false, double? fixedSize})
→ void
-
-
showCustomAlert({required Widget? body, Function? onComplete, bool cancelable = false, double? cornerRadius, double paddingScreen = 15, double? fixedSize})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited