Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun CheckboxLabel(state: ToggleableState, onClick: () -> Unit, modifier: Modifier = Modifier, leftImage: Painter? = null, text: String = "", rightImage: Painter? = null, isEnabled: Boolean = true, labelState: LabelState = LabelState.Default, 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 RadioButtonLabel(isSelected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, leftImage: Painter? = null, text: String = "", rightImage: Painter? = null, isEnabled: Boolean = true, labelState: LabelState = LabelState.Default, 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.