UIState enum
Represents the various interactive states a UI element can be in.
Values
- hovered → const UIState
-
The element is being hovered over by a pointer.
- pressed → const UIState
-
The element is currently being pressed or tapped.
- focused → const UIState
-
The element is focused, typically via keyboard navigation.
- disabled → const UIState
-
The element is disabled and cannot be interacted with.
- selected → const UIState
-
The element is selected.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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