Interface

FocusPropertiesModifierNode

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

Source set: Common
public interface FocusPropertiesModifierNode : DelegatableNode

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

Functions

applyFocusProperties

Source set: Common
public fun applyFocusProperties(focusProperties: FocusProperties)

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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: