Package-level declarations
Functions
Link copied to clipboard
fun Checkbox(state: ToggleableState, label: String, onClick: () -> Unit?, modifier: Modifier = Modifier, interactiveState: SelectableInteractiveState = SelectableInteractiveState.Default, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
fun Checkbox(checked: Boolean, label: String, onClick: () -> Unit?, modifier: Modifier = Modifier, interactiveState: SelectableInteractiveState = SelectableInteractiveState.Default, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Checkboxes are used when there are multiple items to select in a list. Users can select zero, one, or any number of items.