StudioSheetAction<T> class
One key of an action sheet.
- Annotations
Constructors
- StudioSheetAction({required String label, required T value, Widget? icon, bool isDestructiveAction = false})
-
An action
labelled, givingvalue.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
A glyph before its legend.
final
- isDestructiveAction → bool
-
Whether it destroys something: its legend in red.
final
- label → String
-
Its legend.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
What choosing it gives.
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