SplitCheckboxButtonColors

Class

Android
public class SplitCheckboxButtonColors(
    public val checkedContainerColor: Color,
    public val checkedContentColor: Color,
    public val checkedSecondaryContentColor: Color,
    public val checkedSplitContainerColor: Color,
    public val checkedBoxColor: Color,
    public val checkedCheckmarkColor: Color,
    public val uncheckedContainerColor: Color,
    public val uncheckedContentColor: Color,
    public val uncheckedSecondaryContentColor: Color,
    public val uncheckedSplitContainerColor: Color,
    public val uncheckedBoxColor: Color,
    public val disabledCheckedContainerColor: Color,
    public val disabledCheckedContentColor: Color,
    public val disabledCheckedSecondaryContentColor: Color,
    public val disabledCheckedSplitContainerColor: Color,
    public val disabledCheckedBoxColor: Color,
    public val disabledCheckedCheckmarkColor: Color,
    public val disabledUncheckedContainerColor: Color,
    public val disabledUncheckedContentColor: Color,
    public val disabledUncheckedSecondaryContentColor: Color,
    public val disabledUncheckedSplitContainerColor: Color,
    public val disabledUncheckedBoxColor: Color,
)

Represents the different colors used in SplitCheckboxButton in different states.

Parameters

checkedContainerColorContainer or background color when the SplitCheckboxButton is checked
checkedContentColorColor of the content like label when the SplitCheckboxButton is checked
checkedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is checked
checkedSplitContainerColorSplit container color when the SplitCheckboxButton is checked
checkedBoxColorBox color when SplitCheckboxButton is checked
checkedCheckmarkColorCheckmark color when SplitCheckboxButton is checked
uncheckedContainerColorContainer or background color when the SplitCheckboxButton is unchecked
uncheckedContentColorColor of the content like label when the SplitCheckboxButton is unchecked
uncheckedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is unchecked
uncheckedSplitContainerColorSplit container color when the SplitCheckboxButton is unchecked
uncheckedBoxColorBox color when the SplitCheckboxButton is unchecked
disabledCheckedContainerColorContainer color when the SplitCheckboxButton is disabled and checked
disabledCheckedContentColorColor of the content like label when the SplitCheckboxButton is disabled and checked
disabledCheckedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is disabled and checked
disabledCheckedSplitContainerColorSplit container color when the SplitCheckboxButton is disabled and checked
disabledCheckedBoxColorBox color when the SplitCheckboxButton is disabled and checked
disabledCheckedCheckmarkColorCheckmark color when the SplitCheckboxButton is disabled and checked
disabledUncheckedContainerColorContainer color when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedContentColorColor of the content like label when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedSplitContainerColorSplit container color when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedBoxColorBox color when the SplitCheckboxButton is disabled and unchecked

Functions

public fun copy(
        checkedContainerColor: Color = this.checkedContainerColor,
        checkedContentColor: Color = this.checkedContentColor,
        checkedSecondaryContentColor: Color = this.checkedSecondaryContentColor,
        checkedSplitContainerColor: Color = this.checkedSplitContainerColor,
        checkedBoxColor: Color = this.checkedBoxColor,
        checkedCheckmarkColor: Color = this.checkedCheckmarkColor,
        uncheckedContainerColor: Color = this.uncheckedContainerColor,
        uncheckedContentColor: Color = this.uncheckedContentColor,
        uncheckedSecondaryContentColor: Color = this.uncheckedSecondaryContentColor,
        uncheckedSplitContainerColor: Color = this.uncheckedSplitContainerColor,
        uncheckedBoxColor: Color = this.uncheckedBoxColor,
        disabledCheckedContainerColor: Color = this.disabledCheckedContainerColor,
        disabledCheckedContentColor: Color = this.disabledCheckedContentColor,
        disabledCheckedSecondaryContentColor: Color = this.disabledCheckedSecondaryContentColor,
        disabledCheckedSplitContainerColor: Color = this.disabledCheckedSplitContainerColor,
        disabledCheckedBoxColor: Color = this.disabledCheckedBoxColor,
        disabledCheckedCheckmarkColor: Color = this.disabledCheckedCheckmarkColor,
        disabledUncheckedContainerColor: Color = this.disabledUncheckedContainerColor,
        disabledUncheckedContentColor: Color = this.disabledUncheckedContentColor,
        disabledUncheckedSecondaryContentColor: Color = this.disabledUncheckedSecondaryContentColor,
        disabledUncheckedSplitContainerColor: Color = this.disabledUncheckedSplitContainerColor,
        disabledUncheckedBoxColor: Color = this.disabledUncheckedBoxColor,
    ): SplitCheckboxButtonColors

Returns a copy of this SplitCheckboxButtonColors optionally overriding some of the values.

Parameters

checkedContainerColorContainer or background color when the SplitCheckboxButton is checked
checkedContentColorColor of the content like label when the SplitCheckboxButton is checked
checkedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is checked
checkedSplitContainerColorSplit container color when the SplitCheckboxButton is checked
checkedBoxColorBox color when SplitCheckboxButton is checked
checkedCheckmarkColorCheckmark color when SplitCheckboxButton is checked
uncheckedContainerColorContainer or background color when the SplitCheckboxButton is unchecked
uncheckedContentColorColor of the content like label when the SplitCheckboxButton is unchecked
uncheckedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is unchecked
uncheckedSplitContainerColorSplit container color when the SplitCheckboxButton is unchecked
uncheckedBoxColorBox color when the SplitCheckboxButton is unchecked
disabledCheckedContainerColorContainer color when the SplitCheckboxButton is disabled and checked
disabledCheckedContentColorColor of the content like label when the SplitCheckboxButton is disabled and checked
disabledCheckedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is disabled and checked
disabledCheckedSplitContainerColorSplit container color when the SplitCheckboxButton is disabled and checked
disabledCheckedBoxColorBox color when the SplitCheckboxButton is disabled and checked
disabledCheckedCheckmarkColorCheckmark color when the SplitCheckboxButton is disabled and checked
disabledUncheckedContainerColorContainer color when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedContentColorColor of the content like label when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedSecondaryContentColorColor of the secondary content like secondary label when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedSplitContainerColorSplit container color when the SplitCheckboxButton is unchecked and disabled
disabledUncheckedBoxColorBox color when the SplitCheckboxButton is disabled and unchecked