SheetAction class
Data class for Actions in ActionSheet
Constructors
- SheetAction({required String text, required VoidCallback onPressed, bool defaultAction = false, bool isCancel = false, bool hasArrow = false})
- Construction of an ActionSheetAction
Properties
- defaultAction → bool
-
Is this a default action - especially for iOS
final
- hasArrow → bool
-
on Android indicates that further options are next
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancel → bool
-
This is a cancel option - especially for iOS
final
- onPressed → VoidCallback
-
The function which will be called when the action is pressed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
Text to display
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