SplitSwitchButtonColors

class SplitSwitchButtonColors


Represents the different colors used in SplitSwitchButton in different states.

Summary

Public constructors

SplitSwitchButtonColors(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedSplitContainerColor: Color,
    checkedThumbColor: Color,
    checkedThumbIconColor: Color,
    checkedTrackColor: Color,
    checkedTrackBorderColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedSplitContainerColor: Color,
    uncheckedThumbColor: Color,
    uncheckedTrackColor: Color,
    uncheckedTrackBorderColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedSplitContainerColor: Color,
    disabledCheckedThumbColor: Color,
    disabledCheckedThumbIconColor: Color,
    disabledCheckedTrackColor: Color,
    disabledCheckedTrackBorderColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedSplitContainerColor: Color,
    disabledUncheckedThumbColor: Color,
    disabledUncheckedTrackBorderColor: Color
)

Public functions

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

Public properties

Color

Container or background color when the SplitSwitchButton is checked

Color

Color of the content like label when the SplitSwitchButton is checked

Color

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

Color

Split container color when the split toggle button is checked

Color

Color of the thumb when the SplitSwitchButton is checked

Color

Color of the thumb icon when the SplitSwitchButton is checked

Color

Color of the track border when the SplitSwitchButton is checked

Color

Color of the track when the SplitSwitchButton 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

Color of the thumb when the SplitSwitchButton is disabled and checked

Color

Color of the thumb icon when the SplitSwitchButton is disabled and checked

Color

Color of the track border when the SplitSwitchButton is disabled and checked

Color

Color of the track when the SplitSwitchButton 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

Color of the thumb when the SplitSwitchButton is disabled and unchecked

Color

Color of the track border when the SplitSwitchButton is disabled and unchecked

Color

Container or background color when the SplitSwitchButton is unchecked

Color

Color of the content like label when the SplitSwitchButton 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

Color

Color of the thumb when the SplitSwitchButton is unchecked

Color

Color of the track border when the SplitSwitchButton is unchecked

Color

Color of the track when the SplitSwitchButton is unchecked

Public constructors

SplitSwitchButtonColors

SplitSwitchButtonColors(
    checkedContainerColor: Color,
    checkedContentColor: Color,
    checkedSecondaryContentColor: Color,
    checkedSplitContainerColor: Color,
    checkedThumbColor: Color,
    checkedThumbIconColor: Color,
    checkedTrackColor: Color,
    checkedTrackBorderColor: Color,
    uncheckedContainerColor: Color,
    uncheckedContentColor: Color,
    uncheckedSecondaryContentColor: Color,
    uncheckedSplitContainerColor: Color,
    uncheckedThumbColor: Color,
    uncheckedTrackColor: Color,
    uncheckedTrackBorderColor: Color,
    disabledCheckedContainerColor: Color,
    disabledCheckedContentColor: Color,
    disabledCheckedSecondaryContentColor: Color,
    disabledCheckedSplitContainerColor: Color,
    disabledCheckedThumbColor: Color,
    disabledCheckedThumbIconColor: Color,
    disabledCheckedTrackColor: Color,
    disabledCheckedTrackBorderColor: Color,
    disabledUncheckedContainerColor: Color,
    disabledUncheckedContentColor: Color,
    disabledUncheckedSecondaryContentColor: Color,
    disabledUncheckedSplitContainerColor: Color,
    disabledUncheckedThumbColor: Color,
    disabledUncheckedTrackBorderColor: Color
)
Parameters
checkedContainerColor: Color

Container or background color when the SplitSwitchButton is checked

checkedContentColor: Color

Color of the content like label when the SplitSwitchButton is checked

checkedSecondaryContentColor: Color

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

checkedSplitContainerColor: Color

Split container color when the split toggle button is checked

checkedThumbColor: Color

Color of the thumb when the SplitSwitchButton is checked

checkedThumbIconColor: Color

Color of the thumb icon when the SplitSwitchButton is checked

checkedTrackColor: Color

Color of the track when the SplitSwitchButton is checked

checkedTrackBorderColor: Color

Color of the track border when the SplitSwitchButton is checked

uncheckedContainerColor: Color

Container or background color when the SplitSwitchButton is unchecked

uncheckedContentColor: Color

Color of the content like label when the SplitSwitchButton 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

uncheckedThumbColor: Color

Color of the thumb when the SplitSwitchButton is unchecked

uncheckedTrackColor: Color

Color of the track when the SplitSwitchButton is unchecked

uncheckedTrackBorderColor: Color

Color of the track border when the SplitSwitchButton 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

disabledCheckedThumbColor: Color

Color of the thumb when the SplitSwitchButton is disabled and checked

disabledCheckedThumbIconColor: Color

Color of the thumb icon when the SplitSwitchButton is disabled and checked

disabledCheckedTrackColor: Color

Color of the track when the SplitSwitchButton is disabled and checked

disabledCheckedTrackBorderColor: Color

Color of the track border when the SplitSwitchButton 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

disabledUncheckedThumbColor: Color

Color of the thumb when the SplitSwitchButton is disabled and unchecked

disabledUncheckedTrackBorderColor: Color

Color of the track border when the SplitSwitchButton is disabled and unchecked

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

checkedContainerColor

Added in 1.0.0-alpha25
val checkedContainerColorColor

Container or background color when the SplitSwitchButton is checked

checkedContentColor

Added in 1.0.0-alpha25
val checkedContentColorColor

Color of the content like label when the SplitSwitchButton is checked

checkedSecondaryContentColor

Added in 1.0.0-alpha25
val checkedSecondaryContentColorColor

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

checkedSplitContainerColor

Added in 1.0.0-alpha25
val checkedSplitContainerColorColor

Split container color when the split toggle button is checked

checkedThumbColor

Added in 1.0.0-alpha25
val checkedThumbColorColor

Color of the thumb when the SplitSwitchButton is checked

checkedThumbIconColor

Added in 1.0.0-alpha25
val checkedThumbIconColorColor

Color of the thumb icon when the SplitSwitchButton is checked

checkedTrackBorderColor

Added in 1.0.0-alpha25
val checkedTrackBorderColorColor

Color of the track border when the SplitSwitchButton is checked

checkedTrackColor

Added in 1.0.0-alpha25
val checkedTrackColorColor

Color of the track when the SplitSwitchButton is checked

disabledCheckedContainerColor

Added in 1.0.0-alpha25
val disabledCheckedContainerColorColor

Container color when the split toggle button is disabled and checked

disabledCheckedContentColor

Added in 1.0.0-alpha25
val disabledCheckedContentColorColor

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

disabledCheckedSecondaryContentColor

Added in 1.0.0-alpha25
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-alpha25
val disabledCheckedSplitContainerColorColor

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

disabledCheckedThumbColor

Added in 1.0.0-alpha25
val disabledCheckedThumbColorColor

Color of the thumb when the SplitSwitchButton is disabled and checked

disabledCheckedThumbIconColor

Added in 1.0.0-alpha25
val disabledCheckedThumbIconColorColor

Color of the thumb icon when the SplitSwitchButton is disabled and checked

disabledCheckedTrackBorderColor

Added in 1.0.0-alpha25
val disabledCheckedTrackBorderColorColor

Color of the track border when the SplitSwitchButton is disabled and checked

disabledCheckedTrackColor

Added in 1.0.0-alpha25
val disabledCheckedTrackColorColor

Color of the track when the SplitSwitchButton is disabled and checked

disabledUncheckedContainerColor

Added in 1.0.0-alpha25
val disabledUncheckedContainerColorColor

Container color when the split toggle button is unchecked and disabled

disabledUncheckedContentColor

Added in 1.0.0-alpha25
val disabledUncheckedContentColorColor

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

disabledUncheckedSecondaryContentColor

Added in 1.0.0-alpha25
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-alpha25
val disabledUncheckedSplitContainerColorColor

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

disabledUncheckedThumbColor

Added in 1.0.0-alpha25
val disabledUncheckedThumbColorColor

Color of the thumb when the SplitSwitchButton is disabled and unchecked

disabledUncheckedTrackBorderColor

Added in 1.0.0-alpha25
val disabledUncheckedTrackBorderColorColor

Color of the track border when the SplitSwitchButton is disabled and unchecked

uncheckedContainerColor

Added in 1.0.0-alpha25
val uncheckedContainerColorColor

Container or background color when the SplitSwitchButton is unchecked

uncheckedContentColor

Added in 1.0.0-alpha25
val uncheckedContentColorColor

Color of the content like label when the SplitSwitchButton is unchecked

uncheckedSecondaryContentColor

Added in 1.0.0-alpha25
val uncheckedSecondaryContentColorColor

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

uncheckedSplitContainerColor

Added in 1.0.0-alpha25
val uncheckedSplitContainerColorColor

Split container color when the split toggle button is unchecked

uncheckedThumbColor

Added in 1.0.0-alpha25
val uncheckedThumbColorColor

Color of the thumb when the SplitSwitchButton is unchecked

uncheckedTrackBorderColor

Added in 1.0.0-alpha25
val uncheckedTrackBorderColorColor

Color of the track border when the SplitSwitchButton is unchecked

uncheckedTrackColor

Added in 1.0.0-alpha25
val uncheckedTrackColorColor

Color of the track when the SplitSwitchButton is unchecked