# modifierLocalProvider

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/modifierLocalProvider.modifier#(androidx.compose.ui.Modifier).modifierLocalProvider(androidx.compose.ui.modifier.ProvidableModifierLocal,kotlin.Function0)( key: https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ProvidableModifierLocal<T>, value: () -> T )` A Modifier that can be used to provide `https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/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. | Cmn |

## Functions

### Modifier.modifierLocalProvider

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/modifier/ModifierLocalProvider.kt+function:modifierLocalProvider) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0)

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

A Modifier that can be used to provide `https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/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.