# StylePropertyProviderScope

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/StyleProperty.kt+class:androidx.compose.foundation.style.StylePropertyProviderScope) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01) Common/All
- Cmn

  ```
  @ExperimentalFoundationStyleApi
  interface StylePropertyProviderScope
  ```
Known direct subclasses [CustomStyleScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyleScope)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyleScope` | An interface that is the base interface for all styles scopes. |

Known indirect subclasses [CommonStyleScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyleScope), [StyleScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScope)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyleScope` | A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyleScope` is the scope used by a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CommonStyle`. |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScope` | A `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleScope` is the receiver scope of a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` lambda. |

*** ** * ** ***

Provides scope for declaring or overriding style property values.

## Summary

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ProvidableStyleProperty<T>.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StylePropertyProviderScope#(androidx.compose.foundation.style.ProvidableStyleProperty).provide(kotlin.Any)(value: T)` Sets or updates the value of a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ProvidableStyleProperty`. | Cmn |

## Public functions

### ProvidableStyleProperty.provide

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/StyleProperty.kt+function:provide) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
fun <T : Any?> ProvidableStyleProperty<T>.provide(value: T): Unit
```

Sets or updates the value of a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ProvidableStyleProperty`.