🌈 Create new beautiful Compose Gradients with our new wesite ->
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

Source set: Android
@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

Source set: Android
@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