SplitToggleButtonColors


class SplitToggleButtonColors


Represents the different colors used in SplitToggleButton in different states.

Summary

Public constructors

SplitToggleButtonColors(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedSplitContainerColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedSplitContainerColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedSplitContainerColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedSplitContainerColor: Color
)

SplitToggleButtonColors constructor to be used with SplitToggleButton

Public functions

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

Public properties

Color

Container or background color when the split toggle button is checked

Color

Color of the content like label when the split toggle button is checked

Color

Color of the secondary content like secondary label when the split toggle button is checked

Color

Split container color when the split toggle button is checked

Color

Container color when the split toggle button is disabled and checked

Color

Color of the content like label when the split toggle button is disabled and checked

Color

Color of the secondary content like secondary label when the split toggle button is disabled and checked

Color

Split container color when the split toggle button is disabled and checked

Color

Container color when the split toggle button is unchecked and disabled

Color

Color of the content like label when the split toggle button is unchecked and disabled

Color

Color of the secondary content like secondary label when the split toggle button is unchecked and disabled

Color

Split container color when the split toggle button is unchecked and disabled

Color

Container or background color when the split toggle button is unchecked

Color

Color of the content like label when the split toggle button is unchecked

Color

Color of the secondary content like secondary label when the split toggle button is unchecked

Color

Split container color when the split toggle button is unchecked

Public constructors

SplitToggleButtonColors

SplitToggleButtonColors(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedSplitContainerColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedSplitContainerColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedSplitContainerColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedSplitContainerColor: Color
)

SplitToggleButtonColors constructor to be used with SplitToggleButton

Parameters
checkedContainerColor: Color

Container or background color when the split toggle button is checked

checkedContentColor: Color

Color of the content like label when the split toggle button is checked

checkedSecondaryContentColor: Color

Color of the secondary content like secondary label when the split toggle button is checked

checkedSplitContainerColor: Color

Split container color when the split toggle button is checked

uncheckedContainerColor: Color

Container or background color when the split toggle button is unchecked

uncheckedContentColor: Color

Color of the content like label when the split toggle button is unchecked

uncheckedSecondaryContentColor: Color

Color of the secondary content like secondary label when the split toggle button is unchecked

uncheckedSplitContainerColor: Color

Split container color when the split toggle button is unchecked

disabledCheckedContainerColor: Color

Container color when the split toggle button is disabled and checked

disabledCheckedContentColor: Color

Color of the content like label when the split toggle button is disabled and checked

disabledCheckedSecondaryContentColor: Color

Color of the secondary content like secondary label when the split toggle button is disabled and checked

disabledCheckedSplitContainerColor: Color

Split container color when the split toggle button is disabled and checked

disabledUncheckedContainerColor: Color

Container color when the split toggle button is unchecked and disabled

disabledUncheckedContentColor: Color

Color of the content like label when the split toggle button is unchecked and disabled

disabledUncheckedSecondaryContentColor: Color

Color of the secondary content like secondary label when the split toggle button is unchecked and disabled

disabledUncheckedSplitContainerColor: Color

Split container color when the split toggle button is unchecked and disabled

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

checkedContainerColor

Added in 1.0.0-alpha21
val checkedContainerColorColor

Container or background color when the split toggle button is checked

checkedContentColor

Added in 1.0.0-alpha21
val checkedContentColorColor

Color of the content like label when the split toggle button is checked

checkedSecondaryContentColor

Added in 1.0.0-alpha21
val checkedSecondaryContentColorColor

Color of the secondary content like secondary label when the split toggle button is checked

checkedSplitContainerColor

Added in 1.0.0-alpha21
val checkedSplitContainerColorColor

Split container color when the split toggle button is checked

disabledCheckedContainerColor

Added in 1.0.0-alpha21
val disabledCheckedContainerColorColor

Container color when the split toggle button is disabled and checked

disabledCheckedContentColor

Added in 1.0.0-alpha21
val disabledCheckedContentColorColor

Color of the content like label when the split toggle button is disabled and checked

disabledCheckedSecondaryContentColor

Added in 1.0.0-alpha21
val disabledCheckedSecondaryContentColorColor

Color of the secondary content like secondary label when the split toggle button is disabled and checked

disabledCheckedSplitContainerColor

Added in 1.0.0-alpha21
val disabledCheckedSplitContainerColorColor

Split container color when the split toggle button is disabled and checked

disabledUncheckedContainerColor

Added in 1.0.0-alpha21
val disabledUncheckedContainerColorColor

Container color when the split toggle button is unchecked and disabled

disabledUncheckedContentColor

Added in 1.0.0-alpha21
val disabledUncheckedContentColorColor

Color of the content like label when the split toggle button is unchecked and disabled

disabledUncheckedSecondaryContentColor

Added in 1.0.0-alpha21
val disabledUncheckedSecondaryContentColorColor

Color of the secondary content like secondary label when the split toggle button is unchecked and disabled

disabledUncheckedSplitContainerColor

Added in 1.0.0-alpha21
val disabledUncheckedSplitContainerColorColor

Split container color when the split toggle button is unchecked and disabled

uncheckedContainerColor

Added in 1.0.0-alpha21
val uncheckedContainerColorColor

Container or background color when the split toggle button is unchecked

uncheckedContentColor

Added in 1.0.0-alpha21
val uncheckedContentColorColor

Color of the content like label when the split toggle button is unchecked

uncheckedSecondaryContentColor

Added in 1.0.0-alpha21
val uncheckedSecondaryContentColorColor

Color of the secondary content like secondary label when the split toggle button is unchecked

uncheckedSplitContainerColor

Added in 1.0.0-alpha21
val uncheckedSplitContainerColorColor

Split container color when the split toggle button is unchecked