NativeIosDialogAction class
DTO for a UIAlertAction
Constructors
- NativeIosDialogAction({required String text, required NativeIosDialogActionStyle style, VoidCallback? onPressed})
Properties
- enabled → bool
-
Get if the action is enabled or not
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPressed → VoidCallback?
-
Callback when the user clicks the action
If this callback is null, then the action is disabled
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → NativeIosDialogActionStyle
-
Style of the action
final
- text → String
-
Text of the action which is displayed
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited