CheckboxColors

Interface

Android
public interface CheckboxColors

Represents the content colors used in Checkbox in different states.

Functions

@Composable public fun boxColor(enabled: Boolean, checked: Boolean): State<Color>

Represents the box color for this Checkbox, depending on the enabled and checked properties.

Parameters

enabledWhether the Checkbox is enabled
checkedWhether the Checkbox is currently checked or unchecked
@Composable public fun checkmarkColor(enabled: Boolean, checked: Boolean): State<Color>

Represents the checkmark color for this Checkbox, depending on the enabled and checked properties.

Parameters

enabledWhether the Checkbox is enabled
checkedWhether the Checkbox is currently checked or unchecked