FocusPropertiesModifierNode


Implement this interface create a modifier node that can be used to modify the focus properties of the associated FocusTargetNode.

Summary

Public functions

Unit

A parent can modify the focus properties associated with the nearest FocusTargetNode child node.

Cmn

Inherited functions

From androidx.compose.ui.node.DelegatableNode
open Unit

Invoked when the density changes for this node.

Cmn
open Unit

Invoked when the layout direction changes for this node.

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 functions

applyFocusProperties

fun applyFocusProperties(focusProperties: FocusProperties): Unit

A parent can modify the focus properties associated with the nearest FocusTargetNode child node. If a FocusTargetNode has multiple parent FocusPropertiesModifierNodes, properties set by a parent higher up in the hierarchy overwrite properties set by those that are lower in the hierarchy.

Extension functions