Class

RemoteCardColors

Represents Colors used in RemoteCard.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public class RemoteCardColors(
    public val containerColor: RemoteColor,
    public val contentColor: RemoteColor,
    public val appNameColor: RemoteColor,
    public val timeColor: RemoteColor,
    public val titleColor: RemoteColor,
    public val subtitleColor: RemoteColor,
)

Represents Colors used in RemoteCard. Unlike other Material 3 components, Cards do not change their color appearance when they are disabled.

Parameters

containerColor the background 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.

Functions

copy

public fun copy(
        containerColor: RemoteColor? = null,
        contentColor: RemoteColor? = null,
        appNameColor: RemoteColor? = null,
        timeColor: RemoteColor? = null,
        titleColor: RemoteColor? = null,
        subtitleColor: RemoteColor? = null,
    ): RemoteCardColors