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(
|
Public functions |
|
|---|---|
CheckboxButtonColors |
copy(Returns a copy of this CheckboxButtonColors, optionally overriding some of the values. |
open operator Boolean |
|
open Int |
hashCode() |
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.
Public properties
checkedCheckmarkColor
val checkedCheckmarkColor: Color
Color of the checkmark when the checkbox is checked
checkedContainerColor
val checkedContainerColor: Color
Container or background color when the checkbox is checked
checkedContentColor
val checkedContentColor: Color
Color of the content like label when the checkbox is checked
checkedSecondaryContentColor
val checkedSecondaryContentColor: Color
Color of the secondary content like secondary label when the checkbox is checked
disabledCheckedBoxColor
val disabledCheckedBoxColor: Color
Box color when the checkbox is disabled and checked
disabledCheckedCheckmarkColor
val disabledCheckedCheckmarkColor: Color
Checkmark color when the checkbox is disabled and checked
disabledCheckedContainerColor
val disabledCheckedContainerColor: Color
Container or background color when the checkbox is disabled and checked
disabledCheckedContentColor
val disabledCheckedContentColor: Color
Color of content like label when the checkbox is disabled and checked
disabledCheckedIconColor
val disabledCheckedIconColor: Color
Icon color when the checkbox is disabled and checked
disabledCheckedSecondaryContentColor
val disabledCheckedSecondaryContentColor: Color
Color of the secondary content like secondary label when the checkbox is disabled and checked
disabledUncheckedBoxColor
val disabledUncheckedBoxColor: Color
Box color when the checkbox is disabled and unchecked
disabledUncheckedContainerColor
val disabledUncheckedContainerColor: Color
Container or background color when the checkbox is disabled and unchecked
disabledUncheckedContentColor
val disabledUncheckedContentColor: Color
Color of the content like label when the checkbox is disabled and unchecked
disabledUncheckedIconColor
val disabledUncheckedIconColor: Color
Icon color when the checkbox is disabled and unchecked
disabledUncheckedSecondaryContentColor
val disabledUncheckedSecondaryContentColor: Color
Color of the secondary content like secondary label when the checkbox is disabled and unchecked
uncheckedContainerColor
val uncheckedContainerColor: Color
Container or background color when the checkbox is unchecked
uncheckedContentColor
val uncheckedContentColor: Color
Color of the content like label when the checkbox is unchecked
uncheckedSecondaryContentColor
val uncheckedSecondaryContentColor: Color
Color of the secondary content like secondary label when the checkbox is unchecked