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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: