RemoteEdgeButtonDefaults

object RemoteEdgeButtonDefaults


Contains the default values used by RemoteEdgeButton.

Summary

Public functions

RemoteButtonColors

Creates a RemoteButtonColors that represents the default background and content colors used in a RemoteEdgeButton.

RemoteButtonColors
@Composable
buttonColors(
    containerColor: RemoteColor?,
    contentColor: RemoteColor?,
    secondaryContentColor: RemoteColor?,
    iconColor: RemoteColor?,
    disabledContainerColor: RemoteColor?,
    disabledContentColor: RemoteColor?,
    disabledSecondaryContentColor: RemoteColor?,
    disabledIconColor: RemoteColor?
)

Creates a RemoteButtonColors that represents the default background and content colors used in a RemoteEdgeButton.

RemoteButtonColors

Creates a RemoteButtonColors with filled tonal colors for RemoteEdgeButton.

RemoteButtonColors
@Composable
filledTonalButtonColors(
    containerColor: RemoteColor?,
    contentColor: RemoteColor?,
    secondaryContentColor: RemoteColor?,
    iconColor: RemoteColor?,
    disabledContainerColor: RemoteColor?,
    disabledContentColor: RemoteColor?,
    disabledSecondaryContentColor: RemoteColor?,
    disabledIconColor: RemoteColor?
)

Creates a RemoteButtonColors with filled tonal colors for RemoteEdgeButton.

RemoteButtonColors

Creates a RemoteButtonColors with higher chroma container colors for RemoteEdgeButton.

RemoteButtonColors
@Composable
filledVariantButtonColors(
    containerColor: RemoteColor?,
    contentColor: RemoteColor?,
    secondaryContentColor: RemoteColor?,
    iconColor: RemoteColor?,
    disabledContainerColor: RemoteColor?,
    disabledContentColor: RemoteColor?,
    disabledSecondaryContentColor: RemoteColor?,
    disabledIconColor: RemoteColor?
)

Creates a RemoteButtonColors with higher chroma container colors for RemoteEdgeButton.

RemoteDp

Recommended icon size for a given edge button size.

RemoteButtonColors

Creates a RemoteButtonColors with outlined colors for RemoteEdgeButton.

RemoteButtonColors
@Composable
outlinedButtonColors(
    contentColor: RemoteColor?,
    secondaryContentColor: RemoteColor?,
    iconColor: RemoteColor?,
    disabledContentColor: RemoteColor?,
    disabledSecondaryContentColor: RemoteColor?,
    disabledIconColor: RemoteColor?
)

Creates a RemoteButtonColors with outlined colors for RemoteEdgeButton.

RemoteShape

The recommended shape for RemoteEdgeButton of a given size.

Public properties

RemoteDp

The recommended bottom content padding for RemoteEdgeButton.

RemotePaddingValues

The default content padding used by RemoteEdgeButton.

RemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.ExtraSmall.

RemoteDp

The recommended horizontal content padding for RemoteEdgeButton.

RemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.Large.

RemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.Medium.

RemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.Small.

RemoteDp

The recommended top content padding for RemoteEdgeButton.

RemoteDp

Padding around the Edge Button on its top and bottom.

RemoteShape

The default shape for RemoteEdgeButton.

Public functions

buttonColors

Added in 1.0.0-alpha11
@Composable
fun buttonColors(): RemoteButtonColors

Creates a RemoteButtonColors that represents the default background and content colors used in a RemoteEdgeButton.

buttonColors

Added in 1.0.0-alpha11
@Composable
fun buttonColors(
    containerColor: RemoteColor? = null,
    contentColor: RemoteColor? = null,
    secondaryContentColor: RemoteColor? = null,
    iconColor: RemoteColor? = null,
    disabledContainerColor: RemoteColor? = null,
    disabledContentColor: RemoteColor? = null,
    disabledSecondaryContentColor: RemoteColor? = null,
    disabledIconColor: RemoteColor? = null
): RemoteButtonColors

Creates a RemoteButtonColors that represents the default background and content colors used in a RemoteEdgeButton.

filledTonalButtonColors

Added in 1.0.0-alpha11
@Composable
fun filledTonalButtonColors(): RemoteButtonColors

Creates a RemoteButtonColors with filled tonal colors for RemoteEdgeButton.

filledTonalButtonColors

Added in 1.0.0-alpha11
@Composable
fun filledTonalButtonColors(
    containerColor: RemoteColor? = null,
    contentColor: RemoteColor? = null,
    secondaryContentColor: RemoteColor? = null,
    iconColor: RemoteColor? = null,
    disabledContainerColor: RemoteColor? = null,
    disabledContentColor: RemoteColor? = null,
    disabledSecondaryContentColor: RemoteColor? = null,
    disabledIconColor: RemoteColor? = null
): RemoteButtonColors

Creates a RemoteButtonColors with filled tonal colors for RemoteEdgeButton.

filledVariantButtonColors

Added in 1.0.0-alpha11
@Composable
fun filledVariantButtonColors(): RemoteButtonColors

Creates a RemoteButtonColors with higher chroma container colors for RemoteEdgeButton.

filledVariantButtonColors

Added in 1.0.0-alpha11
@Composable
fun filledVariantButtonColors(
    containerColor: RemoteColor? = null,
    contentColor: RemoteColor? = null,
    secondaryContentColor: RemoteColor? = null,
    iconColor: RemoteColor? = null,
    disabledContainerColor: RemoteColor? = null,
    disabledContentColor: RemoteColor? = null,
    disabledSecondaryContentColor: RemoteColor? = null,
    disabledIconColor: RemoteColor? = null
): RemoteButtonColors

Creates a RemoteButtonColors with higher chroma container colors for RemoteEdgeButton.

iconSizeFor

Added in 1.0.0-alpha11
fun iconSizeFor(edgeButtonSize: RemoteEdgeButtonSize): RemoteDp

Recommended icon size for a given edge button size.

Parameters
edgeButtonSize: RemoteEdgeButtonSize

The size of the edge button

outlinedButtonColors

Added in 1.0.0-alpha11
@Composable
fun outlinedButtonColors(): RemoteButtonColors

Creates a RemoteButtonColors with outlined colors for RemoteEdgeButton.

outlinedButtonColors

Added in 1.0.0-alpha11
@Composable
fun outlinedButtonColors(
    contentColor: RemoteColor? = null,
    secondaryContentColor: RemoteColor? = null,
    iconColor: RemoteColor? = null,
    disabledContentColor: RemoteColor? = null,
    disabledSecondaryContentColor: RemoteColor? = null,
    disabledIconColor: RemoteColor? = null
): RemoteButtonColors

Creates a RemoteButtonColors with outlined colors for RemoteEdgeButton.

shape

Added in 1.0.0-alpha11
fun shape(buttonSize: RemoteEdgeButtonSize = RemoteEdgeButtonSize.Small): RemoteShape

The recommended shape for RemoteEdgeButton of a given size.

Public properties

BottomContentPadding

Added in 1.0.0-alpha11
val BottomContentPaddingRemoteDp

The recommended bottom content padding for RemoteEdgeButton.

ContentPadding

Added in 1.0.0-alpha11
val ContentPaddingRemotePaddingValues

The default content padding used by RemoteEdgeButton.

ExtraSmallIconSize

Added in 1.0.0-alpha11
val ExtraSmallIconSizeRemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.ExtraSmall.

HorizontalContentPadding

Added in 1.0.0-alpha11
val HorizontalContentPaddingRemoteDp

The recommended horizontal content padding for RemoteEdgeButton.

LargeIconSize

Added in 1.0.0-alpha11
val LargeIconSizeRemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.Large.

MediumIconSize

Added in 1.0.0-alpha11
val MediumIconSizeRemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.Medium.

SmallIconSize

Added in 1.0.0-alpha11
val SmallIconSizeRemoteDp

The recommended icon size when used with RemoteEdgeButtonSize.Small.

TopContentPadding

Added in 1.0.0-alpha11
val TopContentPaddingRemoteDp

The recommended top content padding for RemoteEdgeButton.

VerticalPadding

Added in 1.0.0-alpha11
val VerticalPaddingRemoteDp

Padding around the Edge Button on its top and bottom.

shape

Added in 1.0.0-alpha11
val shapeRemoteShape

The default shape for RemoteEdgeButton.