RemoteSplitSwitchButtonDefaults

object RemoteSplitSwitchButtonDefaults


Contains the default values used by RemoteSplitSwitchButton.

Summary

Public functions

RemoteSplitSwitchButtonColors

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

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

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

Public properties

RemotePaddingValues

The default content padding used by RemoteSplitSwitchButton.

RemoteDp

The default minimum height applied for the RemoteSplitSwitchButton.

RemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the outer container of RemoteSplitSwitchButton.

RemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the split sections.

Public functions

splitSwitchButtonColors

Added in 1.0.0-alpha12
@Composable
fun splitSwitchButtonColors(): RemoteSplitSwitchButtonColors

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

splitSwitchButtonColors

Added in 1.0.0-alpha12
@Composable
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: RemoteColor? = null

The container color of the RemoteSplitSwitchButton when enabled and checked.

checkedContentColor: RemoteColor? = null

The content color of the RemoteSplitSwitchButton when enabled and checked.

checkedSecondaryContentColor: RemoteColor? = null

The secondary content color of the RemoteSplitSwitchButton when enabled and checked, used for secondaryLabel content.

checkedSplitContainerColor: RemoteColor? = null

The split container color of the RemoteSplitSwitchButton when enabled and checked.

checkedThumbColor: RemoteColor? = null

The thumb color of the RemoteSplitSwitchButton when enabled and checked.

checkedThumbIconColor: RemoteColor? = null

The thumb icon color of the RemoteSplitSwitchButton when enabled and checked.

checkedTrackColor: RemoteColor? = null

The track color of the RemoteSplitSwitchButton when enabled and checked.

checkedTrackBorderColor: RemoteColor? = null

The track border color of the RemoteSplitSwitchButton when enabled and checked.

uncheckedContainerColor: RemoteColor? = null

The container color of the RemoteSplitSwitchButton when enabled and unchecked.

uncheckedContentColor: RemoteColor? = null

The content color of the RemoteSplitSwitchButton when enabled and unchecked.

uncheckedSecondaryContentColor: RemoteColor? = null

The secondary content color of the RemoteSplitSwitchButton when enabled and unchecked, used for secondaryLabel content.

uncheckedSplitContainerColor: RemoteColor? = null

The split container color of the RemoteSplitSwitchButton when enabled and unchecked.

uncheckedThumbColor: RemoteColor? = null

The thumb color of the RemoteSplitSwitchButton when enabled and unchecked.

uncheckedTrackColor: RemoteColor? = null

The track color of the RemoteSplitSwitchButton when enabled and unchecked.

uncheckedTrackBorderColor: RemoteColor? = null

The track border color of the RemoteSplitSwitchButton when enabled and unchecked.

disabledCheckedContainerColor: RemoteColor? = null

The container color of the RemoteSplitSwitchButton when disabled and checked.

disabledCheckedContentColor: RemoteColor? = null

The content color of the RemoteSplitSwitchButton when disabled and checked.

disabledCheckedSecondaryContentColor: RemoteColor? = null

The secondary content color of the RemoteSplitSwitchButton when disabled and checked, used for secondaryLabel content.

disabledCheckedSplitContainerColor: RemoteColor? = null

The split container color of the RemoteSplitSwitchButton when disabled and checked.

disabledCheckedThumbColor: RemoteColor? = null

The thumb color of the RemoteSplitSwitchButton when disabled and checked.

disabledCheckedThumbIconColor: RemoteColor? = null

The thumb icon color of the RemoteSplitSwitchButton when disabled and checked.

disabledCheckedTrackColor: RemoteColor? = null

The track color of the RemoteSplitSwitchButton when disabled and checked.

disabledCheckedTrackBorderColor: RemoteColor? = null

The track border color of the RemoteSplitSwitchButton when disabled and checked.

disabledUncheckedContainerColor: RemoteColor? = null

The container color of the RemoteSplitSwitchButton when disabled and unchecked.

disabledUncheckedContentColor: RemoteColor? = null

The content color of the RemoteSplitSwitchButton when disabled and unchecked.

disabledUncheckedSecondaryContentColor: RemoteColor? = null

The secondary content color of the RemoteSplitSwitchButton when disabled and unchecked, used for secondaryLabel content.

disabledUncheckedSplitContainerColor: RemoteColor? = null

The split container color of the RemoteSplitSwitchButton when disabled and unchecked.

disabledUncheckedThumbColor: RemoteColor? = null

The thumb color of the RemoteSplitSwitchButton when disabled and unchecked.

disabledUncheckedTrackBorderColor: RemoteColor? = null

The track border color of the RemoteSplitSwitchButton when disabled and unchecked.

Public properties

ContentPadding

Added in 1.0.0-alpha12
val ContentPaddingRemotePaddingValues

The default content padding used by RemoteSplitSwitchButton.

Height

Added in 1.0.0-alpha12
val HeightRemoteDp

The default minimum height applied for the RemoteSplitSwitchButton.

shape

Added in 1.0.0-alpha12
val shapeRemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the outer container of RemoteSplitSwitchButton.

splitSectionsShape

Added in 1.0.0-alpha12
val splitSectionsShapeRemoteRoundedCornerShape

Recommended RemoteRoundedCornerShape for the split sections.