Package-level declarations

Functions

Link copied to clipboard
fun Checkbox(state: ToggleableState, onClick: () -> Unit, modifier: Modifier = Modifier, isEnabled: Boolean = true, hasError: Boolean = false, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

A checkbox is a component that allows users to select one or multiple options from a set.

Link copied to clipboard
fun RadioButton(isSelected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, isEnabled: Boolean = true, hasError: Boolean = false, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

A radio button is a component that allows users to select one option from a set. Use radio buttons for exclusive selection, if you think that the user needs to see all available options side-by-side.