class RemoteCardColors


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

Summary

Public constructors

RemoteCardColors(
    containerColor: RemoteColor,
    contentColor: RemoteColor,
    appNameColor: RemoteColor,
    timeColor: RemoteColor,
    titleColor: RemoteColor,
    subtitleColor: RemoteColor
)

Public functions

RemoteCardColors
copy(
    containerColor: RemoteColor?,
    contentColor: RemoteColor?,
    appNameColor: RemoteColor?,
    timeColor: RemoteColor?,
    titleColor: RemoteColor?,
    subtitleColor: RemoteColor?
)

Public properties

RemoteColor

the color used for appName, only applies to RemoteAppCard.

RemoteColor

the background color of this RemoteCard

RemoteColor

the content color of this RemoteCard.

RemoteColor

the color used for subtitle, applies to RemoteTitleCard.

RemoteColor

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

RemoteColor

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

Public constructors

RemoteCardColors

Added in 1.0.0-alpha02
RemoteCardColors(
    containerColor: RemoteColor,
    contentColor: RemoteColor,
    appNameColor: RemoteColor,
    timeColor: RemoteColor,
    titleColor: RemoteColor,
    subtitleColor: RemoteColor
)
Parameters
containerColor: RemoteColor

the background color of this RemoteCard

contentColor: RemoteColor

the content color of this RemoteCard.

appNameColor: RemoteColor

the color used for appName, only applies to RemoteAppCard.

timeColor: RemoteColor

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

titleColor: RemoteColor

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

subtitleColor: RemoteColor

the color used for subtitle, applies to RemoteTitleCard.

Public functions

copy

Added in 1.0.0-alpha02
fun copy(
    containerColor: RemoteColor? = null,
    contentColor: RemoteColor? = null,
    appNameColor: RemoteColor? = null,
    timeColor: RemoteColor? = null,
    titleColor: RemoteColor? = null,
    subtitleColor: RemoteColor? = null
): RemoteCardColors

Public properties

appNameColor

Added in 1.0.0-alpha02
val appNameColorRemoteColor

the color used for appName, only applies to RemoteAppCard.

containerColor

Added in 1.0.0-alpha02
val containerColorRemoteColor

the background color of this RemoteCard

contentColor

Added in 1.0.0-alpha02
val contentColorRemoteColor

the content color of this RemoteCard.

subtitleColor

Added in 1.0.0-alpha02
val subtitleColorRemoteColor

the color used for subtitle, applies to RemoteTitleCard.

timeColor

Added in 1.0.0-alpha02
val timeColorRemoteColor

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

titleColor

Added in 1.0.0-alpha02
val titleColorRemoteColor

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