ConfirmationDialogOptions class
Options for the confirmation dialog.
Constructors
- ConfirmationDialogOptions({DialogType type = DialogType.warning, bool barrierDismissible = true, bool showCancel = true, Color? confirmButtonColor, Color? cancelButtonColor})
-
Extra options for the confirmation dialog.
const
Properties
- barrierDismissible → bool
-
True if the dialog is dismissible by tapping outside.
final
- cancelButtonColor → Color?
-
The color of the cancel button.
final
- confirmButtonColor → Color?
-
The color of the confirm button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCancel → bool
-
True if the dialog should show the cancel button.
final
- type → DialogType
-
The type of dialog to show.
final
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