StudioKeyRowItem class
One key of a StudioKeyRow: a legend, a glyph, or both.
- Annotations
Constructors
- StudioKeyRowItem({required String label, required VoidCallback? onPressed, Widget? icon, bool iconOnly = false})
-
A key reading
label(or showingicon,labelnaming it).const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
A glyph before the legend, or in its place with iconOnly.
final
- iconOnly → bool
-
Whether the key shows only its icon.
final
- label → String
-
Its legend, and its name to a screen reader.
final
- onPressed → VoidCallback?
-
What a press does; null disables this key.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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