Start native apps faster with the Composables CLI ->
Object

CheckboxDefaults

Contains the default values used by CheckBox.

Source set: Android
public object CheckboxDefaults

Contains the default values used by CheckBox.

Functions

colors

Source set: Android
@Composable
    public fun colors(checkedColor: ColorProvider, uncheckedColor: ColorProvider): CheckBoxColors

Parameters

checkedColor the ColorProvider to use when the check box is checked.
uncheckedColor the ColorProvider to use when the check box is not checked.

Return

CheckBoxColors that uses checkedColor or uncheckedColor depending on the checked state of the CheckBox.

colors

Source set: Android
@Composable
    public fun colors(checkedColor: Color, uncheckedColor: Color): CheckBoxColors

Parameters

checkedColor the Color to use when the check box is checked.
uncheckedColor the Color to use when the check box is not checked.

Return

CheckBoxColors that uses checkedColor or uncheckedColor depending on the checked state of the CheckBox.

colors

Source set: Android
@Composable
    public fun colors(): CheckBoxColors

Creates a default CheckBoxColors.

Return

default CheckBoxColors.