Skip to content
🤔 Documentation issue? Report or edit

Checkbox

Info

This is the API of version 1.0.0-beta07

@Composable
fun CheckBoxDemo() {
    val checkedState = remember { mutableStateOf(true) }
    Checkbox(
        checked = checkedState.value,
        onCheckedChange = { checkedState.value = it }
    )
}

See also:


Last update: May 24, 2021