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

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

equals

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

hashCode

open fun hashCode(): Int

Public properties

checkedBoxColor

Added in 1.0.0-alpha25
val checkedBoxColorColor

Color of the box when the checkbox is checked

checkedCheckmarkColor

Added in 1.0.0-alpha25
val checkedCheckmarkColorColor

Color of the checkmark when the checkbox is checked

checkedContainerColor

Added in 1.0.0-alpha25
val checkedContainerColorColor

Container or background color when the checkbox is checked

checkedContentColor

Added in 1.0.0-alpha25
val checkedContentColorColor

Color of the content like label when the checkbox is checked

checkedIconColor

Added in 1.0.0-alpha25
val checkedIconColorColor

Color of the icon when the checkbox is checked

checkedSecondaryContentColor

Added in 1.0.0-alpha25
val checkedSecondaryContentColorColor

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

disabledCheckedBoxColor

Added in 1.0.0-alpha25
val disabledCheckedBoxColorColor

Box color when the checkbox is disabled and checked

disabledCheckedCheckmarkColor

Added in 1.0.0-alpha25
val disabledCheckedCheckmarkColorColor

Checkmark color when the checkbox is disabled and checked

disabledCheckedContainerColor

Added in 1.0.0-alpha25
val disabledCheckedContainerColorColor

Container or background color when the checkbox is disabled and checked

disabledCheckedContentColor

Added in 1.0.0-alpha25
val disabledCheckedContentColorColor

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

disabledCheckedIconColor

Added in 1.0.0-alpha25
val disabledCheckedIconColorColor

Icon color when the checkbox is disabled and checked

disabledCheckedSecondaryContentColor

Added in 1.0.0-alpha25
val disabledCheckedSecondaryContentColorColor

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

disabledUncheckedBoxColor

Added in 1.0.0-alpha25
val disabledUncheckedBoxColorColor

Box color when the checkbox is disabled and unchecked

disabledUncheckedContainerColor

Added in 1.0.0-alpha25
val disabledUncheckedContainerColorColor

Container or background color when the checkbox is disabled and unchecked

disabledUncheckedContentColor

Added in 1.0.0-alpha25
val disabledUncheckedContentColorColor

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

disabledUncheckedIconColor

Added in 1.0.0-alpha25
val disabledUncheckedIconColorColor

Icon color when the checkbox is disabled and unchecked

disabledUncheckedSecondaryContentColor

Added in 1.0.0-alpha25
val disabledUncheckedSecondaryContentColorColor

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

uncheckedBoxColor

Added in 1.0.0-alpha25
val uncheckedBoxColorColor

Color of the box when the checkbox is unchecked

uncheckedContainerColor

Added in 1.0.0-alpha25
val uncheckedContainerColorColor

Container or background color when the checkbox is unchecked

uncheckedContentColor

Added in 1.0.0-alpha25
val uncheckedContentColorColor

Color of the content like label when the checkbox is unchecked

uncheckedIconColor

Added in 1.0.0-alpha25
val uncheckedIconColorColor

Color of the icon when the checkbox is unchecked

uncheckedSecondaryContentColor

Added in 1.0.0-alpha25
val uncheckedSecondaryContentColorColor

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