InteractionValue
A value holder that automatically updates its value when the user is interacting with the component it is attached to. InteractionValuesIndicationNode uses instances of this class and associated animatables to update the value.
Parameters
none
The value when interactionState is InteractionState.None.
focused
The value when interactionState state is InteractionState.Focused.
hovered
The value when interactionState state is InteractionState.Hovered.
pressed
The value when interactionState state is InteractionState.Pressed.
toAnimatableValue
Converts a value of type T to an animatable value of type S.
fromAnimatableValue
Converts an animatable value of type S to a value of type T.