Object

RemoteSplitSwitchButtonDefaults

Contains the default values used by RemoteSplitSwitchButton.

Source set: Android
public object RemoteSplitSwitchButtonDefaults

Contains the default values used by RemoteSplitSwitchButton.

Properties

shape

Source set: Android
public val shape: RemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the outer container of RemoteSplitSwitchButton.

splitSectionsShape

Source set: Android
public val splitSectionsShape: RemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the split sections.

Height

Source set: Android
public val Height: RemoteDp = 52.rdp

The default minimum height applied for the RemoteSplitSwitchButton.

ContentPadding

Source set: Android
public val ContentPadding: RemotePaddingValues =
        RemotePaddingValues(horizontal = 14.rdp, vertical = 8.rdp)

The default content padding used by RemoteSplitSwitchButton.

Functions

splitSwitchButtonColors

Source set: Android
@Composable
    public fun splitSwitchButtonColors(): RemoteSplitSwitchButtonColors

Creates a RemoteSplitSwitchButtonColors that represents the default container and content colors used in a RemoteSplitSwitchButton.

splitSwitchButtonColors

Source set: Android
@Composable
    public fun splitSwitchButtonColors(
        checkedContainerColor: RemoteColor? = null,
        checkedContentColor: RemoteColor? = null,
        checkedSecondaryContentColor: RemoteColor? = null,
        checkedSplitContainerColor: RemoteColor? = null,
        checkedThumbColor: RemoteColor? = null,
        checkedThumbIconColor: RemoteColor? = null,
        checkedTrackColor: RemoteColor? = null,
        checkedTrackBorderColor: RemoteColor? = null,
        uncheckedContainerColor: RemoteColor? = null,
        uncheckedContentColor: RemoteColor? = null,
        uncheckedSecondaryContentColor: RemoteColor? = null,
        uncheckedSplitContainerColor: RemoteColor? = null,
        uncheckedThumbColor: RemoteColor? = null,
        uncheckedTrackColor: RemoteColor? = null,
        uncheckedTrackBorderColor: RemoteColor? = null,
        disabledCheckedContainerColor: RemoteColor? = null,
        disabledCheckedContentColor: RemoteColor? = null,
        disabledCheckedSecondaryContentColor: RemoteColor? = null,
        disabledCheckedSplitContainerColor: RemoteColor? = null,
        disabledCheckedThumbColor: RemoteColor? = null,
        disabledCheckedThumbIconColor: RemoteColor? = null,
        disabledCheckedTrackColor: RemoteColor? = null,
        disabledCheckedTrackBorderColor: RemoteColor? = null,
        disabledUncheckedContainerColor: RemoteColor? = null,
        disabledUncheckedContentColor: RemoteColor? = null,
        disabledUncheckedSecondaryContentColor: RemoteColor? = null,
        disabledUncheckedSplitContainerColor: RemoteColor? = null,
        disabledUncheckedThumbColor: RemoteColor? = null,
        disabledUncheckedTrackBorderColor: RemoteColor? = null,
    ): RemoteSplitSwitchButtonColors

Creates a RemoteSplitSwitchButtonColors that represents the default container and content colors used in a RemoteSplitSwitchButton.

Parameters

checkedContainerColor The container color of the RemoteSplitSwitchButton when enabled and checked.
checkedContentColor The content color of the RemoteSplitSwitchButton when enabled and checked.
checkedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when enabled and checked, used for secondaryLabel content.
checkedSplitContainerColor The split container color of the RemoteSplitSwitchButton when enabled and checked.
checkedThumbColor The thumb color of the RemoteSplitSwitchButton when enabled and checked.
checkedThumbIconColor The thumb icon color of the RemoteSplitSwitchButton when enabled and checked.
checkedTrackColor The track color of the RemoteSplitSwitchButton when enabled and checked.
checkedTrackBorderColor The track border color of the RemoteSplitSwitchButton when enabled and checked.
uncheckedContainerColor The container color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedContentColor The content color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when enabled and unchecked, used for secondaryLabel content.
uncheckedSplitContainerColor The split container color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedThumbColor The thumb color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedTrackColor The track color of the RemoteSplitSwitchButton when enabled and unchecked.
uncheckedTrackBorderColor The track border color of the RemoteSplitSwitchButton when enabled and unchecked.
disabledCheckedContainerColor The container color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedContentColor The content color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when disabled and checked, used for secondaryLabel content.
disabledCheckedSplitContainerColor The split container color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedThumbColor The thumb color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedThumbIconColor The thumb icon color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedTrackColor The track color of the RemoteSplitSwitchButton when disabled and checked.
disabledCheckedTrackBorderColor The track border color of the RemoteSplitSwitchButton when disabled and checked.
disabledUncheckedContainerColor The container color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedContentColor The content color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedSecondaryContentColor The secondary content color of the RemoteSplitSwitchButton when disabled and unchecked, used for secondaryLabel content.
disabledUncheckedSplitContainerColor The split container color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedThumbColor The thumb color of the RemoteSplitSwitchButton when disabled and unchecked.
disabledUncheckedTrackBorderColor The track border color of the RemoteSplitSwitchButton when disabled and unchecked.

Content updated: