androidx.compose.ui.modifier

modifierLocalProvider

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

No hand-written docs yet.

A Modifier that can be used to provide ModifierLocals that can be read by other modifiers to the right of this modifier, or modifiers that are children of the layout node that this modifier is attached to.

Parameters

fun <T> Modifier.modifierLocalProvider(key: ProvidableModifierLocal<T>, value: () -> T): Modifier

key: ProvidableModifierLocal<T>Required

Not described.

value: () -> TRequired

Not described.

Library docs

A Modifier that can be used to provide ModifierLocals that can be read by other modifiers to the right of this modifier, or modifiers that are children of the layout node that this modifier is attached to.