Class

RemoteSwitchButtonColors

Represents the container, content, and control colors used in RemoteSwitchButton in various states.

Source set: Android
public class RemoteSwitchButtonColors(
    public val checkedContainerColor: RemoteColor,
    public val checkedContentColor: RemoteColor,
    public val checkedSecondaryContentColor: RemoteColor,
    public val checkedIconColor: RemoteColor,
    public val checkedThumbColor: RemoteColor,
    public val checkedThumbIconColor: RemoteColor,
    public val checkedTrackColor: RemoteColor,
    public val checkedTrackBorderColor: RemoteColor,
    public val uncheckedContainerColor: RemoteColor,
    public val uncheckedContentColor: RemoteColor,
    public val uncheckedSecondaryContentColor: RemoteColor,
    public val uncheckedIconColor: RemoteColor,
    public val uncheckedThumbColor: RemoteColor,
    public val uncheckedTrackColor: RemoteColor,
    public val uncheckedTrackBorderColor: RemoteColor,
    public val disabledCheckedContainerColor: RemoteColor,
    public val disabledCheckedContentColor: RemoteColor,
    public val disabledCheckedSecondaryContentColor: RemoteColor,
    public val disabledCheckedIconColor: RemoteColor,
    public val disabledCheckedThumbColor: RemoteColor,
    public val disabledCheckedThumbIconColor: RemoteColor,
    public val disabledCheckedTrackColor: RemoteColor,
    public val disabledCheckedTrackBorderColor: RemoteColor,
    public val disabledUncheckedContainerColor: RemoteColor,
    public val disabledUncheckedContentColor: RemoteColor,
    public val disabledUncheckedSecondaryContentColor: RemoteColor,
    public val disabledUncheckedIconColor: RemoteColor,
    public val disabledUncheckedThumbColor: RemoteColor,
    public val disabledUncheckedTrackBorderColor: RemoteColor,
)

Represents the container, content, and control colors used in RemoteSwitchButton in various states.

Parameters

checkedContainerColor Container color when checked and enabled.
checkedContentColor Content color when checked and enabled.
checkedSecondaryContentColor Secondary content color when checked and enabled.
checkedIconColor Icon color when checked and enabled.
checkedThumbColor Thumb color when checked and enabled.
checkedThumbIconColor Thumb icon color when checked and enabled.
checkedTrackColor Track color when checked and enabled.
checkedTrackBorderColor Track border color when checked and enabled.
uncheckedContainerColor Container color when unchecked and enabled.
uncheckedContentColor Content color when unchecked and enabled.
uncheckedSecondaryContentColor Secondary content color when unchecked and enabled.
uncheckedIconColor Icon color when unchecked and enabled.
uncheckedThumbColor Thumb color when unchecked and enabled.
uncheckedTrackColor Track color when unchecked and enabled.
uncheckedTrackBorderColor Track border color when unchecked and enabled.
disabledCheckedContainerColor Container color when checked and disabled.
disabledCheckedContentColor Content color when checked and disabled.
disabledCheckedSecondaryContentColor Secondary content color when checked and disabled.
disabledCheckedIconColor Icon color when checked and disabled.
disabledCheckedThumbColor Thumb color when checked and disabled.
disabledCheckedThumbIconColor Thumb icon color when checked and disabled.
disabledCheckedTrackColor Track color when checked and disabled.
disabledCheckedTrackBorderColor Track border color when checked and disabled.
disabledUncheckedContainerColor Container color when unchecked and disabled.
disabledUncheckedContentColor Content color when unchecked and disabled.
disabledUncheckedSecondaryContentColor Secondary content color when unchecked and disabled.
disabledUncheckedIconColor Icon color when unchecked and disabled.
disabledUncheckedThumbColor Thumb color when unchecked and disabled.
disabledUncheckedTrackBorderColor Track border color when unchecked and disabled.

Functions

copy

Source set: Android
public fun copy(
        checkedContainerColor: RemoteColor? = this.checkedContainerColor,
        checkedContentColor: RemoteColor? = this.checkedContentColor,
        checkedSecondaryContentColor: RemoteColor? = this.checkedSecondaryContentColor,
        checkedIconColor: RemoteColor? = this.checkedIconColor,
        checkedThumbColor: RemoteColor? = this.checkedThumbColor,
        checkedThumbIconColor: RemoteColor? = this.checkedThumbIconColor,
        checkedTrackColor: RemoteColor? = this.checkedTrackColor,
        checkedTrackBorderColor: RemoteColor? = this.checkedTrackBorderColor,
        uncheckedContainerColor: RemoteColor? = this.uncheckedContainerColor,
        uncheckedContentColor: RemoteColor? = this.uncheckedContentColor,
        uncheckedSecondaryContentColor: RemoteColor? = this.uncheckedSecondaryContentColor,
        uncheckedIconColor: RemoteColor? = this.uncheckedIconColor,
        uncheckedThumbColor: RemoteColor? = this.uncheckedThumbColor,
        uncheckedTrackColor: RemoteColor? = this.uncheckedTrackColor,
        uncheckedTrackBorderColor: RemoteColor? = this.uncheckedTrackBorderColor,
        disabledCheckedContainerColor: RemoteColor? = this.disabledCheckedContainerColor,
        disabledCheckedContentColor: RemoteColor? = this.disabledCheckedContentColor,
        disabledCheckedSecondaryContentColor: RemoteColor? =
            this.disabledCheckedSecondaryContentColor,
        disabledCheckedIconColor: RemoteColor? = this.disabledCheckedIconColor,
        disabledCheckedThumbColor: RemoteColor? = this.disabledCheckedThumbColor,
        disabledCheckedThumbIconColor: RemoteColor? = this.disabledCheckedThumbIconColor,
        disabledCheckedTrackColor: RemoteColor? = this.disabledCheckedTrackColor,
        disabledCheckedTrackBorderColor: RemoteColor? = this.disabledCheckedTrackBorderColor,
        disabledUncheckedContainerColor: RemoteColor? = this.disabledUncheckedContainerColor,
        disabledUncheckedContentColor: RemoteColor? = this.disabledUncheckedContentColor,
        disabledUncheckedSecondaryContentColor: RemoteColor? =
            this.disabledUncheckedSecondaryContentColor,
        disabledUncheckedIconColor: RemoteColor? = this.disabledUncheckedIconColor,
        disabledUncheckedThumbColor: RemoteColor? = this.disabledUncheckedThumbColor,
        disabledUncheckedTrackBorderColor: RemoteColor? = this.disabledUncheckedTrackBorderColor,
    ): RemoteSwitchButtonColors

Returns a copy of this RemoteSwitchButtonColors optionally overriding some values.

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

Content updated: