<div class='type'>Compose Modifier</div>

<a id='references'></a>


<h2 id="modifierlocalprovider-key-value">modifierLocalProvider</h2>

<div class='sourceset sourceset-common'>Common</div>


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


A Modifier that can be used to provide `ModifierLocal`s 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.