# androidx.compose.ui.state

Common/All

## Enums

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState` | Enum that represents possible toggleable states. | Cmn |

## Top-level functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/ToggleableState` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/state/package-summary#ToggleableState(kotlin.Boolean)(value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Return corresponding ToggleableState based on a Boolean representation | Cmn |

## Top-level functions

### ToggleableState

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

```
fun ToggleableState(value: Boolean): ToggleableState
```

Return corresponding ToggleableState based on a Boolean representation

| Parameters |
|---|---|
| `value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the ToggleableState is on or off |