🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

FocusEventModifierNode

Implement this interface create a modifier node that can be used to observe focus state changes to a FocusTargetNode down the hierarchy.

Source set: Common
public interface FocusEventModifierNode : DelegatableNode

Implement this interface create a modifier node that can be used to observe focus state changes to a FocusTargetNode down the hierarchy.

Functions

onFocusEvent

Source set: Common
public fun onFocusEvent(focusState: FocusState)

A parent FocusEventNode is notified of FocusState changes to the FocusTargetNode associated with this FocusEventModifierNode.