Start native apps faster with the Composables CLI ->
Object

RemoteCardDefaults

Contains the default values used by RemoteCard

Source set: Android
public object RemoteCardDefaults

Contains the default values used by RemoteCard

Properties

OutlinedBorderSize

Source set: Android
public val OutlinedBorderSize: RemoteDp = 1.rdp

The default size of the border for RemoteOutlinedCard

ContentPadding

Source set: Android
public val ContentPadding: RemotePaddingValues = RemotePaddingValues(12.rdp)

The default content padding used by RemoteCard

AppImageSize

Source set: Android
public val AppImageSize: RemoteDp = 18.rdp

The default size of the app icon/image when used inside a RemoteAppCard.

shape

Source set: Android
public val shape: RemoteShape

The default shape of RemoteCard, which determines its corner radius.

Height

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

The default height of RemoteCard, RemoteAppCard and RemoteTitleCard. The card will increase its height to accommodate the contents, if necessary.

Width

Source set: Android
public val Width: RemoteDp = 80.rdp

Functions

cardColors

Source set: Android
@Composable
    public fun cardColors(): RemoteCardColors

Creates a RemoteCardColors that represents the default container and content colors used in a RemoteCard, RemoteAppCard or RemoteTitleCard.

cardColors

Source set: Android
@Composable
    public fun cardColors(
        containerColor: RemoteColor? = null,
        contentColor: RemoteColor? = null,
        appNameColor: RemoteColor? = null,
        timeColor: RemoteColor? = null,
        titleColor: RemoteColor? = null,
        subtitleColor: RemoteColor? = null,
    ): RemoteCardColors

Creates a RemoteCardColors that represents the default container and content colors used in a RemoteCard, RemoteAppCard or RemoteTitleCard.

Parameters

containerColor the container color of this RemoteCard.
contentColor the content color of this RemoteCard.
appNameColor the color used for appName, only applies to RemoteAppCard.
timeColor the color used for time, applies to RemoteAppCard and RemoteTitleCard.
titleColor the color used for title, applies to RemoteAppCard and RemoteTitleCard.
subtitleColor the color used for subtitle, applies to RemoteTitleCard.

outlinedCardColors

Source set: Android
@Composable
    public fun outlinedCardColors(): RemoteCardColors

Creates a RemoteCardColors that represents the default container and content colors used in an RemoteOutlinedCard, outlined RemoteAppCard or RemoteTitleCard.

outlinedCardColors

Source set: Android
@Composable
    public fun outlinedCardColors(
        contentColor: RemoteColor? = null,
        appNameColor: RemoteColor? = null,
        timeColor: RemoteColor? = null,
        titleColor: RemoteColor? = null,
        subtitleColor: RemoteColor? = null,
    ): RemoteCardColors

Creates a RemoteCardColors that represents the default container and content colors used in an RemoteOutlinedCard, outlined RemoteAppCard or RemoteTitleCard.

Parameters

contentColor the content color of this RemoteOutlinedCard.
appNameColor the color used for appName, only applies to RemoteAppCard.
timeColor the color used for time, applies to RemoteAppCard and RemoteTitleCard.
titleColor the color used for title, applies to RemoteAppCard and RemoteTitleCard.
subtitleColor the color used for subtitle, applies to RemoteTitleCard.