androidx.compose.ui.modifier
ModifierLocalConsumer
Interface · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
A Modifier that can be used to consume ModifierLocals that were provided by other modifiers to the left of this modifier, or above this modifier in the layout tree.
interface ModifierLocalConsumer : Modifier.Element
Is a
Functions
onModifierLocalsUpdated
fun onModifierLocalsUpdated(scope: ModifierLocalReadScope)
This function is called whenever one of the consumed values has changed. This could be called in response to the modifier being added, removed or re-ordered.
Library docs
A Modifier that can be used to consume ModifierLocals that were provided by other modifiers to
the left of this modifier, or above this modifier in the layout tree.