Interface

CheckboxColors

Represents the content colors used in Checkbox in different states.

Source set: Android
public interface CheckboxColors

Represents the content colors used in Checkbox in different states.

Functions

boxColor

@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

enabled Whether the Checkbox is enabled
checked Whether the Checkbox is currently checked or unchecked

checkmarkColor

@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

enabled Whether the Checkbox is enabled
checked Whether the Checkbox is currently checked or unchecked

Last updated: