FocusTargetModifierNode


This modifier node can be used to create a modifier that makes a component focusable.

Summary

Public properties

FocusState

The FocusState associated with this FocusTargetModifierNode.

Cmn

Inherited properties

From androidx.compose.ui.node.DelegatableNode
Modifier.Node

A reference of the Modifier.Node that holds this node's position in the node hierarchy.

Cmn

Public properties

focusState

@ExperimentalComposeUiApi
val focusStateFocusState

The FocusState associated with this FocusTargetModifierNode. When you implement a FocusTargetModifierNode, instead of implementing FocusEventModifierNode, you can get the state by accessing this variable.