CheckboxButtonColors

class CheckboxButtonColors


Represents the different container and content colors used for CheckboxButton in various states, that are checked, unchecked, enabled and disabled.

Summary

Public constructors

CheckboxButtonColors(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedIconColor: Color,
    checkedBoxColor: Color,
    checkedCheckmarkColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedIconColor: Color,
    uncheckedBoxColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedIconColor: Color,
    disabledCheckedBoxColor: Color,
    disabledCheckedCheckmarkColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedIconColor: Color,
    disabledUncheckedBoxColor: Color
)

CheckboxButtonColors constructor to be used with CheckboxButton

Public functions

CheckboxButtonColors
copy(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedIconColor: Color,
    checkedBoxColor: Color,
    checkedCheckmarkColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedIconColor: Color,
    uncheckedBoxColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedIconColor: Color,
    disabledCheckedBoxColor: Color,
    disabledCheckedCheckmarkColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedIconColor: Color,
    disabledUncheckedBoxColor: Color
)

Returns a copy of this CheckboxButtonColors, optionally overriding some of the values.

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

Public properties

Color

Color of the box when the checkbox is checked

Color

Color of the checkmark when the checkbox is checked

Color

Container or background color when the checkbox is checked

Color

Color of the content like label when the checkbox is checked

Color

Color of the icon when the checkbox is checked

Color

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

Color

Box color when the checkbox is disabled and checked

Color

Checkmark color when the checkbox is disabled and checked

Color

Container or background color when the checkbox is disabled and checked

Color

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

Color

Icon color when the checkbox is disabled and checked

Color

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

Color

Box color when the checkbox is disabled and unchecked

Color

Container or background color when the checkbox is disabled and unchecked

Color

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

Color

Icon color when the checkbox is disabled and unchecked

Color

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

Color

Color of the box when the checkbox is unchecked

Color

Container or background color when the checkbox is unchecked

Color

Color of the content like label when the checkbox is unchecked

Color

Color of the icon when the checkbox is unchecked

Color

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

Public constructors

CheckboxButtonColors

CheckboxButtonColors(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedIconColor: Color,
    checkedBoxColor: Color,
    checkedCheckmarkColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedIconColor: Color,
    uncheckedBoxColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedIconColor: Color,
    disabledCheckedBoxColor: Color,
    disabledCheckedCheckmarkColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedIconColor: Color,
    disabledUncheckedBoxColor: Color
)

CheckboxButtonColors constructor to be used with CheckboxButton

Parameters
checkedContainerColor: Color

Container or background color when the checkbox is checked

checkedContentColor: Color

Color of the content like label when the checkbox is checked

checkedSecondaryContentColor: Color

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

checkedIconColor: Color

Color of the icon when the checkbox is checked

checkedBoxColor: Color

Color of the box when the checkbox is checked

checkedCheckmarkColor: Color

Color of the checkmark when the checkbox is checked

uncheckedContainerColor: Color

Container or background color when the checkbox is unchecked

uncheckedContentColor: Color

Color of the content like label when the checkbox is unchecked

uncheckedSecondaryContentColor: Color

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

uncheckedIconColor: Color

Color of the icon when the checkbox is unchecked

uncheckedBoxColor: Color

Color of the box when the checkbox is unchecked

disabledCheckedContainerColor: Color

Container or background color when the checkbox is disabled and checked

disabledCheckedContentColor: Color

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

disabledCheckedSecondaryContentColor: Color

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

disabledCheckedIconColor: Color

Icon color when the checkbox is disabled and checked

disabledCheckedBoxColor: Color

Box color when the checkbox is disabled and checked

disabledCheckedCheckmarkColor: Color

Checkmark color when the checkbox is disabled and checked

disabledUncheckedContainerColor: Color

Container or background color when the checkbox is disabled and unchecked

disabledUncheckedContentColor: Color

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

disabledUncheckedSecondaryContentColor: Color

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

disabledUncheckedIconColor: Color

Icon color when the checkbox is disabled and unchecked

disabledUncheckedBoxColor: Color

Box color when the checkbox is disabled and unchecked

Public functions

copy

fun copy(
    checkedContainerColor: Color = this.checkedContainerColor,
    checkedContentColor: Color = this.checkedContentColor,
    checkedSecondaryContentColor: Color = this.checkedSecondaryContentColor,
    checkedIconColor: Color = this.checkedIconColor,
    checkedBoxColor: Color = this.checkedBoxColor,
    checkedCheckmarkColor: Color = this.checkedCheckmarkColor,
    uncheckedContainerColor: Color = this.uncheckedContainerColor,
    uncheckedContentColor: Color = this.uncheckedContentColor,
    uncheckedSecondaryContentColor: Color = this.uncheckedSecondaryContentColor,
    uncheckedIconColor: Color = this.uncheckedIconColor,
    uncheckedBoxColor: Color = this.uncheckedBoxColor,
    disabledCheckedContainerColor: Color = this.disabledCheckedContainerColor,
    disabledCheckedContentColor: Color = this.disabledCheckedContentColor,
    disabledCheckedSecondaryContentColor: Color = this.disabledCheckedSecondaryContentColor,
    disabledCheckedIconColor: Color = this.disabledCheckedIconColor,
    disabledCheckedBoxColor: Color = this.disabledCheckedBoxColor,
    disabledCheckedCheckmarkColor: Color = this.disabledCheckedCheckmarkColor,
    disabledUncheckedContainerColor: Color = this.disabledUncheckedContainerColor,
    disabledUncheckedContentColor: Color = this.disabledUncheckedContentColor,
    disabledUncheckedSecondaryContentColor: Color = this.disabledUncheckedSecondaryContentColor,
    disabledUncheckedIconColor: Color = this.disabledUncheckedIconColor,
    disabledUncheckedBoxColor: Color = this.disabledUncheckedBoxColor
): CheckboxButtonColors

Returns a copy of this CheckboxButtonColors, optionally overriding some of the values.

equals

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

hashCode

open fun hashCode(): Int

Public properties

checkedBoxColor

Added in 1.0.0-alpha30
val checkedBoxColorColor

Color of the box when the checkbox is checked

checkedCheckmarkColor

Added in 1.0.0-alpha30
val checkedCheckmarkColorColor

Color of the checkmark when the checkbox is checked

checkedContainerColor

Added in 1.0.0-alpha30
val checkedContainerColorColor

Container or background color when the checkbox is checked

checkedContentColor

Added in 1.0.0-alpha30
val checkedContentColorColor

Color of the content like label when the checkbox is checked

checkedIconColor

Added in 1.0.0-alpha30
val checkedIconColorColor

Color of the icon when the checkbox is checked

checkedSecondaryContentColor

Added in 1.0.0-alpha30
val checkedSecondaryContentColorColor

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

disabledCheckedBoxColor

Added in 1.0.0-alpha30
val disabledCheckedBoxColorColor

Box color when the checkbox is disabled and checked

disabledCheckedCheckmarkColor

Added in 1.0.0-alpha30
val disabledCheckedCheckmarkColorColor

Checkmark color when the checkbox is disabled and checked

disabledCheckedContainerColor

Added in 1.0.0-alpha30
val disabledCheckedContainerColorColor

Container or background color when the checkbox is disabled and checked

disabledCheckedContentColor

Added in 1.0.0-alpha30
val disabledCheckedContentColorColor

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

disabledCheckedIconColor

Added in 1.0.0-alpha30
val disabledCheckedIconColorColor

Icon color when the checkbox is disabled and checked

disabledCheckedSecondaryContentColor

Added in 1.0.0-alpha30
val disabledCheckedSecondaryContentColorColor

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

disabledUncheckedBoxColor

Added in 1.0.0-alpha30
val disabledUncheckedBoxColorColor

Box color when the checkbox is disabled and unchecked

disabledUncheckedContainerColor

Added in 1.0.0-alpha30
val disabledUncheckedContainerColorColor

Container or background color when the checkbox is disabled and unchecked

disabledUncheckedContentColor

Added in 1.0.0-alpha30
val disabledUncheckedContentColorColor

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

disabledUncheckedIconColor

Added in 1.0.0-alpha30
val disabledUncheckedIconColorColor

Icon color when the checkbox is disabled and unchecked

disabledUncheckedSecondaryContentColor

Added in 1.0.0-alpha30
val disabledUncheckedSecondaryContentColorColor

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

uncheckedBoxColor

Added in 1.0.0-alpha30
val uncheckedBoxColorColor

Color of the box when the checkbox is unchecked

uncheckedContainerColor

Added in 1.0.0-alpha30
val uncheckedContainerColorColor

Container or background color when the checkbox is unchecked

uncheckedContentColor

Added in 1.0.0-alpha30
val uncheckedContentColorColor

Color of the content like label when the checkbox is unchecked

uncheckedIconColor

Added in 1.0.0-alpha30
val uncheckedIconColorColor

Color of the icon when the checkbox is unchecked

uncheckedSecondaryContentColor

Added in 1.0.0-alpha30
val uncheckedSecondaryContentColorColor

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