# styleResolver

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleResolver.modifier#(androidx.compose.ui.Modifier).styleResolver(androidx.compose.foundation.style.StyleResolver)(styleResolver: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver)` A modifier that binds a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver` to the location in the composition it should resolve properties. | Cmn |

## Functions

### Modifier.styleResolver

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleResolverNode.kt+function:styleResolver) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Modifier.styleResolver(styleResolver: StyleResolver): Modifier
```

A modifier that binds a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver` to the location in the composition it should resolve properties. A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver` is required to be passed to one and only one `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).styleResolver(androidx.compose.foundation.style.StyleResolver)` modifier. An exception will be thrown if a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver` instance is supplied to more than one `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).styleResolver(androidx.compose.foundation.style.StyleResolver)` modifiers.

| Parameters |
|---|---|
| `styleResolver: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver` | the resolver to be bound to this modifier. |