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

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

Added in 1.0.0-alpha28
val checkedBoxColorColor

Box color when SplitCheckboxButton is checked

checkedCheckmarkColor

Added in 1.0.0-alpha28
val checkedCheckmarkColorColor

Checkmark color when SplitCheckboxButton is checked

checkedContainerColor

Added in 1.0.0-alpha28
val checkedContainerColorColor

Container or background color when the SplitCheckboxButton is checked

checkedContentColor

Added in 1.0.0-alpha28
val checkedContentColorColor

Color of the content like label when the SplitCheckboxButton is checked

checkedSecondaryContentColor

Added in 1.0.0-alpha28
val checkedSecondaryContentColorColor

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

checkedSplitContainerColor

Added in 1.0.0-alpha28
val checkedSplitContainerColorColor

Split container color when the SplitCheckboxButton is checked

disabledCheckedBoxColor

Added in 1.0.0-alpha28
val disabledCheckedBoxColorColor

Box color when the SplitCheckboxButton is disabled and checked

disabledCheckedCheckmarkColor

Added in 1.0.0-alpha28
val disabledCheckedCheckmarkColorColor

Checkmark color when the SplitCheckboxButton is disabled and checked

disabledCheckedContainerColor

Added in 1.0.0-alpha28
val disabledCheckedContainerColorColor

Container color when the SplitCheckboxButton is disabled and checked

disabledCheckedContentColor

Added in 1.0.0-alpha28
val disabledCheckedContentColorColor

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

disabledCheckedSecondaryContentColor

Added in 1.0.0-alpha28
val disabledCheckedSecondaryContentColorColor

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

disabledCheckedSplitContainerColor

Added in 1.0.0-alpha28
val disabledCheckedSplitContainerColorColor

Split container color when the SplitCheckboxButton is disabled and checked

disabledUncheckedBoxColor

Added in 1.0.0-alpha28
val disabledUncheckedBoxColorColor

Box color when the SplitCheckboxButton is disabled and unchecked

disabledUncheckedContainerColor

Added in 1.0.0-alpha28
val disabledUncheckedContainerColorColor

Container color when the SplitCheckboxButton is unchecked and disabled

disabledUncheckedContentColor

Added in 1.0.0-alpha28
val disabledUncheckedContentColorColor

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

disabledUncheckedSecondaryContentColor

Added in 1.0.0-alpha28
val disabledUncheckedSecondaryContentColorColor

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

disabledUncheckedSplitContainerColor

Added in 1.0.0-alpha28
val disabledUncheckedSplitContainerColorColor

Split container color when the SplitCheckboxButton is unchecked and disabled

uncheckedBoxColor

Added in 1.0.0-alpha28
val uncheckedBoxColorColor

Box color when the SplitCheckboxButton is unchecked

uncheckedContainerColor

Added in 1.0.0-alpha28
val uncheckedContainerColorColor

Container or background color when the SplitCheckboxButton is unchecked

uncheckedContentColor

Added in 1.0.0-alpha28
val uncheckedContentColorColor

Color of the content like label when the SplitCheckboxButton is unchecked

uncheckedSecondaryContentColor

Added in 1.0.0-alpha28
val uncheckedSecondaryContentColorColor

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

uncheckedSplitContainerColor

Added in 1.0.0-alpha28
val uncheckedSplitContainerColorColor

Split container color when the SplitCheckboxButton is unchecked