ArtDialogArgs class
Constructors
-
ArtDialogArgs({double sizeSuccessIcon = 50.0, double sizeInfoIcon = 50.0, double sizeWarningIcon = 50.0, double sizeErrorIcon = 50.0, double sizeQuestionIcon = 50.0, double getTitleSize = 18.0, String? text, String? title, bool showCancelBtn = false, String cancelButtonText = "Cancel", String confirmButtonText = "OK", String? denyButtonText, ArtSweetAlertType? type, Function? onConfirm, Function? onDeny, Function? onCancel, Function? onDispose, Color confirmButtonColor = const Color.fromRGBO(115, 103, 240, 1), Color denyButtonColor = const Color.fromRGBO(221, 51, 51, 1), Color cancelButtonColor = const Color.fromRGBO(117, 117, 117, 1), List<
Widget> ? customColumns, EdgeInsets dialogPadding = const EdgeInsets.all(20), Decoration? dialogDecoration, DecorationImage? decorationImage, double dialogElevation = 0.0, MainAxisSize dialogMainAxisSize = MainAxisSize.min, AlignmentGeometry dialogAlignment = Alignment.center, Color barrierColor = const Color.fromRGBO(0, 0, 0, 0.4)})
Properties
- barrierColor → Color
-
final
- cancelButtonColor → Color
-
final
- cancelButtonText → String
-
final
- confirmButtonColor → Color
-
final
- confirmButtonText → String
-
final
-
customColumns
→ List<
Widget> ? -
final
- decorationImage → DecorationImage?
-
final
- denyButtonColor → Color
-
final
- denyButtonText → String?
-
final
- dialogAlignment → AlignmentGeometry
-
final
- dialogDecoration ↔ Decoration?
-
getter/setter pair
- dialogElevation → double
-
final
- dialogMainAxisSize → MainAxisSize
-
final
- dialogPadding → EdgeInsets
-
final
- getTitleSize → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onCancel → Function?
-
final
- onConfirm → Function?
-
final
- onDeny → Function?
-
final
- onDispose → Function?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCancelBtn → bool
-
final
- sizeErrorIcon → double
-
final
- sizeInfoIcon → double
-
final
- sizeQuestionIcon → double
-
final
- sizeSuccessIcon → double
-
final
- sizeWarningIcon → double
-
final
- text → String?
-
final
- title → String?
-
final
- type → ArtSweetAlertType?
-
final
Methods
-
getDialogDecoration(
) → Decoration -
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