androidx.compose.ui.modifier

modifierLocalConsumer

Function · 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.

Parameters

fun Modifier.modifierLocalConsumer(
    consumer: ModifierLocalReadScope.() -> Unit,
): Modifier

consumer: ModifierLocalReadScope.() -> UnitRequired

Not described.

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.