TextureStates¶
object TextureStates
Constant keys used to look up ThemeState entries within a ComposableTheme's state map.
Composables use these keys to select the correct texture variant based on their current interactive state (e.g. hovered, pressed, disabled).
Properties¶
CLICKED¶
Used when the composable has been activated/checked/clicked (toggle state).
CLICKED_AND_HOVERED¶
const val CLICKED_AND_HOVERED: String
Used when the composable is both activated and hovered simultaneously.
DEFAULT¶
The default idle state used when no other state applies.
DISABLED¶
Used when the composable is disabled and cannot be interacted with.
HOVERED¶
Used when the mouse cursor is hovering over the composable.