object RemoteCardDefaults


Contains the default values used by RemoteCard

Summary

Public functions

RemoteCardColors

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

RemoteCardColors
@Composable
@RemoteComposable
cardColors(
    containerColor: RemoteColor?,
    contentColor: RemoteColor?,
    appNameColor: RemoteColor?,
    timeColor: RemoteColor?,
    titleColor: RemoteColor?,
    subtitleColor: RemoteColor?
)

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

RemoteCardColors

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

RemoteCardColors
@Composable
@RemoteComposable
outlinedCardColors(
    contentColor: RemoteColor?,
    appNameColor: RemoteColor?,
    timeColor: RemoteColor?,
    titleColor: RemoteColor?,
    subtitleColor: RemoteColor?
)

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

Public properties

RemoteDp

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

RemotePaddingValues

The default content padding used by RemoteCard

RemoteDp

The default height of RemoteCard, RemoteAppCard and RemoteTitleCard.

RemoteDp

The default size of the border for RemoteOutlinedCard

RemoteDp
RemoteShape

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

Public functions

cardColors

Added in 1.0.0-alpha02
@Composable
@RemoteComposable
fun cardColors(): RemoteCardColors

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

cardColors

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

the container color of this RemoteCard.

contentColor: RemoteColor? = null

the content color of this RemoteCard.

appNameColor: RemoteColor? = null

the color used for appName, only applies to RemoteAppCard.

timeColor: RemoteColor? = null

the color used for time, applies to RemoteAppCard and RemoteTitleCard.

titleColor: RemoteColor? = null

the color used for title, applies to RemoteAppCard and RemoteTitleCard.

subtitleColor: RemoteColor? = null

the color used for subtitle, applies to RemoteTitleCard.

outlinedCardColors

Added in 1.0.0-alpha02
@Composable
@RemoteComposable
fun outlinedCardColors(): RemoteCardColors

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

outlinedCardColors

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

the content color of this RemoteOutlinedCard.

appNameColor: RemoteColor? = null

the color used for appName, only applies to RemoteAppCard.

timeColor: RemoteColor? = null

the color used for time, applies to RemoteAppCard and RemoteTitleCard.

titleColor: RemoteColor? = null

the color used for title, applies to RemoteAppCard and RemoteTitleCard.

subtitleColor: RemoteColor? = null

the color used for subtitle, applies to RemoteTitleCard.

Public properties

AppImageSize

Added in 1.0.0-alpha02
val AppImageSizeRemoteDp

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

ContentPadding

Added in 1.0.0-alpha02
val ContentPaddingRemotePaddingValues

The default content padding used by RemoteCard

Height

Added in 1.0.0-alpha02
val HeightRemoteDp

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

OutlinedBorderSize

Added in 1.0.0-alpha02
val OutlinedBorderSizeRemoteDp

The default size of the border for RemoteOutlinedCard

Width

Added in 1.0.0-alpha02
val WidthRemoteDp

shape

val shapeRemoteShape

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