# modifierLocalConsumer

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/modifierLocalConsumer.modifier#(androidx.compose.ui.Modifier).modifierLocalConsumer(kotlin.Function1)(consumer: https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ModifierLocalReadScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` A Modifier that can be used to consume `https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ModifierLocal`s that were provided by other modifiers to the left of this modifier, or above this modifier in the layout tree. | Cmn |

## Functions

### Modifier.modifierLocalConsumer

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/ModifierLocalConsumer.kt+function:modifierLocalConsumer) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0)

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

A Modifier that can be used to consume `https://developer.android.com/reference/kotlin/androidx/compose/ui/modifier/ModifierLocal`s that were provided by other modifiers to the left of this modifier, or above this modifier in the layout tree.