androidx.compose.ui.node

CompositionLocalConsumerModifierNode

Interface · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

Implementing this interface allows your Modifier.Node subclass to read CompositionLocals``CompositionLocal via the currentValueOf function. The values of each CompositionLocal will be resolved based on the context of the layout node that the modifier is attached to, meaning that the modifier will see the same values of each CompositionLocal as its corresponding layout node.

interface CompositionLocalConsumerModifierNode : DelegatableNode

Is a

Library docs

Implementing this interface allows your Modifier.Node subclass to read CompositionLocals``CompositionLocal via the currentValueOf function. The values of each CompositionLocal will be resolved based on the context of the layout node that the modifier is attached to, meaning that the modifier will see the same values of each CompositionLocal as its corresponding layout node.