SplitCheckboxButtonColors

class SplitCheckboxButtonColors


Represents the different colors used in SplitCheckboxButton in different states.

Summary

Public constructors

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

SplitCheckboxButtonColors constructor to be used with SplitCheckboxButton

Public functions

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

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

open operator Boolean
equals(other: Any?)
open Int

Public properties

Color

Box color when SplitCheckboxButton is checked

Color

Checkmark color when SplitCheckboxButton is checked

Color

Container or background color when the SplitCheckboxButton is checked

Color

Color of the content like label when the SplitCheckboxButton is checked

Color

Color of the secondary content like secondary label when the SplitCheckboxButton is checked

Color

Split container color when the SplitCheckboxButton is checked

Color

Box color when the SplitCheckboxButton is disabled and checked

Color

Checkmark color when the SplitCheckboxButton is disabled and checked

Color

Container color when the SplitCheckboxButton is disabled and checked

Color

Color of the content like label when the SplitCheckboxButton is disabled and checked

Color

Color of the secondary content like secondary label when the SplitCheckboxButton is disabled and checked

Color

Split container color when the SplitCheckboxButton is disabled and checked

Color

Box color when the SplitCheckboxButton is disabled and unchecked

Color

Container color when the SplitCheckboxButton is unchecked and disabled

Color

Color of the content like label when the SplitCheckboxButton is unchecked and disabled

Color

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked and disabled

Color

Split container color when the SplitCheckboxButton is unchecked and disabled

Color

Box color when the SplitCheckboxButton is unchecked

Color

Container or background color when the SplitCheckboxButton is unchecked

Color

Color of the content like label when the SplitCheckboxButton is unchecked

Color

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked

Color

Split container color when the SplitCheckboxButton is unchecked

Public constructors

SplitCheckboxButtonColors

Added in 1.5.0-beta06
SplitCheckboxButtonColors(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedSplitContainerColor: Color,
    checkedBoxColor: Color,
    checkedCheckmarkColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedSplitContainerColor: Color,
    uncheckedBoxColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedSplitContainerColor: Color,
    disabledCheckedBoxColor: Color,
    disabledCheckedCheckmarkColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedSplitContainerColor: Color,
    disabledUncheckedBoxColor: Color
)

SplitCheckboxButtonColors constructor to be used with SplitCheckboxButton

Parameters
checkedContainerColor: Color

Container or background color when the SplitCheckboxButton is checked

checkedContentColor: Color

Color of the content like label when the SplitCheckboxButton is checked

checkedSecondaryContentColor: Color

Color of the secondary content like secondary label when the SplitCheckboxButton is checked

checkedSplitContainerColor: Color

Split container color when the SplitCheckboxButton is checked

checkedBoxColor: Color

Box color when SplitCheckboxButton is checked

checkedCheckmarkColor: Color

Checkmark color when SplitCheckboxButton is checked

uncheckedContainerColor: Color

Container or background color when the SplitCheckboxButton is unchecked

uncheckedContentColor: Color

Color of the content like label when the SplitCheckboxButton is unchecked

uncheckedSecondaryContentColor: Color

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked

uncheckedSplitContainerColor: Color

Split container color when the SplitCheckboxButton is unchecked

uncheckedBoxColor: Color

Box color when the SplitCheckboxButton is unchecked

disabledCheckedContainerColor: Color

Container color when the SplitCheckboxButton is disabled and checked

disabledCheckedContentColor: Color

Color of the content like label when the SplitCheckboxButton is disabled and checked

disabledCheckedSecondaryContentColor: Color

Color of the secondary content like secondary label when the SplitCheckboxButton is disabled and checked

disabledCheckedSplitContainerColor: Color

Split container color when the SplitCheckboxButton is disabled and checked

disabledCheckedBoxColor: Color

Box color when the SplitCheckboxButton is disabled and checked

disabledCheckedCheckmarkColor: Color

Checkmark color when the SplitCheckboxButton is disabled and checked

disabledUncheckedContainerColor: Color

Container color when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedContentColor: Color

Color of the content like label when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedSecondaryContentColor: Color

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedSplitContainerColor: Color

Split container color when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedBoxColor: Color

Box color when the SplitCheckboxButton is disabled and unchecked

Public functions

copy

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
checkedContainerColor: Color = this.checkedContainerColor

Container or background color when the SplitCheckboxButton is checked

checkedContentColor: Color = this.checkedContentColor

Color of the content like label when the SplitCheckboxButton is checked

checkedSecondaryContentColor: Color = this.checkedSecondaryContentColor

Color of the secondary content like secondary label when the SplitCheckboxButton is checked

checkedSplitContainerColor: Color = this.checkedSplitContainerColor

Split container color when the SplitCheckboxButton is checked

checkedBoxColor: Color = this.checkedBoxColor

Box color when SplitCheckboxButton is checked

checkedCheckmarkColor: Color = this.checkedCheckmarkColor

Checkmark color when SplitCheckboxButton is checked

uncheckedContainerColor: Color = this.uncheckedContainerColor

Container or background color when the SplitCheckboxButton is unchecked

uncheckedContentColor: Color = this.uncheckedContentColor

Color of the content like label when the SplitCheckboxButton is unchecked

uncheckedSecondaryContentColor: Color = this.uncheckedSecondaryContentColor

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked

uncheckedSplitContainerColor: Color = this.uncheckedSplitContainerColor

Split container color when the SplitCheckboxButton is unchecked

uncheckedBoxColor: Color = this.uncheckedBoxColor

Box color when the SplitCheckboxButton is unchecked

disabledCheckedContainerColor: Color = this.disabledCheckedContainerColor

Container color when the SplitCheckboxButton is disabled and checked

disabledCheckedContentColor: Color = this.disabledCheckedContentColor

Color of the content like label when the SplitCheckboxButton is disabled and checked

disabledCheckedSecondaryContentColor: Color = this.disabledCheckedSecondaryContentColor

Color of the secondary content like secondary label when the SplitCheckboxButton is disabled and checked

disabledCheckedSplitContainerColor: Color = this.disabledCheckedSplitContainerColor

Split container color when the SplitCheckboxButton is disabled and checked

disabledCheckedBoxColor: Color = this.disabledCheckedBoxColor

Box color when the SplitCheckboxButton is disabled and checked

disabledCheckedCheckmarkColor: Color = this.disabledCheckedCheckmarkColor

Checkmark color when the SplitCheckboxButton is disabled and checked

disabledUncheckedContainerColor: Color = this.disabledUncheckedContainerColor

Container color when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedContentColor: Color = this.disabledUncheckedContentColor

Color of the content like label when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedSecondaryContentColor: Color = this.disabledUncheckedSecondaryContentColor

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedSplitContainerColor: Color = this.disabledUncheckedSplitContainerColor

Split container color when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedBoxColor: Color = this.disabledUncheckedBoxColor

Box color when the SplitCheckboxButton is disabled and unchecked

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

checkedBoxColor

val checkedBoxColorColor

Box color when SplitCheckboxButton is checked

checkedCheckmarkColor

val checkedCheckmarkColorColor

Checkmark color when SplitCheckboxButton is checked

checkedContainerColor

val checkedContainerColorColor

Container or background color when the SplitCheckboxButton is checked

checkedContentColor

val checkedContentColorColor

Color of the content like label when the SplitCheckboxButton is checked

checkedSecondaryContentColor

val checkedSecondaryContentColorColor

Color of the secondary content like secondary label when the SplitCheckboxButton is checked

checkedSplitContainerColor

val checkedSplitContainerColorColor

Split container color when the SplitCheckboxButton is checked

disabledCheckedBoxColor

val disabledCheckedBoxColorColor

Box color when the SplitCheckboxButton is disabled and checked

disabledCheckedCheckmarkColor

val disabledCheckedCheckmarkColorColor

Checkmark color when the SplitCheckboxButton is disabled and checked

disabledCheckedContainerColor

val disabledCheckedContainerColorColor

Container color when the SplitCheckboxButton is disabled and checked

disabledCheckedContentColor

val disabledCheckedContentColorColor

Color of the content like label when the SplitCheckboxButton is disabled and checked

disabledCheckedSecondaryContentColor

val disabledCheckedSecondaryContentColorColor

Color of the secondary content like secondary label when the SplitCheckboxButton is disabled and checked

disabledCheckedSplitContainerColor

val disabledCheckedSplitContainerColorColor

Split container color when the SplitCheckboxButton is disabled and checked

disabledUncheckedBoxColor

val disabledUncheckedBoxColorColor

Box color when the SplitCheckboxButton is disabled and unchecked

disabledUncheckedContainerColor

val disabledUncheckedContainerColorColor

Container color when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedContentColor

val disabledUncheckedContentColorColor

Color of the content like label when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedSecondaryContentColor

val disabledUncheckedSecondaryContentColorColor

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedSplitContainerColor

val disabledUncheckedSplitContainerColorColor

Split container color when the SplitCheckboxButton is unchecked and disabled

uncheckedBoxColor

val uncheckedBoxColorColor

Box color when the SplitCheckboxButton is unchecked

uncheckedContainerColor

val uncheckedContainerColorColor

Container or background color when the SplitCheckboxButton is unchecked

uncheckedContentColor

val uncheckedContentColorColor

Color of the content like label when the SplitCheckboxButton is unchecked

uncheckedSecondaryContentColor

val uncheckedSecondaryContentColorColor

Color of the secondary content like secondary label when the SplitCheckboxButton is unchecked

uncheckedSplitContainerColor

val uncheckedSplitContainerColorColor

Split container color when the SplitCheckboxButton is unchecked