# NestedStyleKey

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

  ```
  @ExperimentalFoundationStyleApi
  class NestedStyleKey
  ```

*** ** * ** ***

A key used to identify a style that is being defined by a parent style or applied by a nested styleable composable.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/NestedStyleProviderStyleScope#provideNestedStyle(androidx.compose.foundation.style.NestedStyleKey,androidx.compose.foundation.style.CommonStyle)` |   |

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/NestedStyleKey#NestedStyleKey(kotlin.String)(label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` | Cmn |

| ### Public functions |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/NestedStyleKey#toString()()` | Cmn |

## Public constructors

### NestedStyleKey

Cmn Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
NestedStyleKey(label: String)
```

| Parameters |
|---|---|
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | diagnostic label for debugging; not used for key identity |

## Public functions

### toString

Cmn

```
open fun toString(): String
```