interactable
Interop Modifier to support either Modifier.selectable or Modifier.clickable, applying the correct modifier based on the requirement for hardware input. For example if a Tv device is detected it adds support for hardware clicks from remote controls.
Since
0.3.1
Parameters
Whether the click action handling is enabled.
Optional property to set the selected state. Setting this to a value will enable selectable support.
The interaction source to emit interaction events to.
Optional indication to apply with the clickable.
The Role of the associated user interface element, typically used by Accessiblity services.
Optional text label used by accessibility services to describe the long-press action.
Optional callback to handle long click events.
Optional callback to handle double click events.
Optional text label used by accessibility services to describe the click action.
Callback when the element is clicked.