Composable Function

RemoteAppCard

Opinionated Wear Material 3 RemoteCard that offers a specific 5 slot layout to show information about an application, e.g.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

RemoteAppCard

Android
@RemoteComposable
@Composable
public fun RemoteAppCard(
    onClick: Action,
    appName: @Composable @RemoteComposable () -> Unit,
    title: @Composable @RemoteComposable () -> Unit,
    modifier: RemoteModifier = RemoteModifier,
    enabled: RemoteBoolean = true.rb,
    shape: RemoteShape = RemoteCardDefaults.shape,
    colors: RemoteCardColors = RemoteCardDefaults.cardColors(),
    contentPadding: RemotePaddingValues = RemoteCardDefaults.ContentPadding,
    appImage: (@Composable @RemoteComposable () -> Unit)? = null,
    time: (@Composable @RemoteComposable () -> Unit)? = null,
    content: @Composable @RemoteComposable () -> Unit,
)

Opinionated Wear Material 3 RemoteCard that offers a specific 5 slot layout to show information about an application, e.g. a notification.

Parameters

onClick Will be called when the user clicks the card.
appName A slot for displaying the application name.
title A slot for displaying the title of the card.
modifier Modifier to be applied to the card
enabled Controls the enabled state of the card. When false, this component will not respond to user input.
shape Defines the card's shape.
colors RemoteCardColors that will be used to resolve the colors used for this card.
contentPadding The spacing values to apply internally between the container and the content
appImage A slot for a small (RemoteCardDefaults.AppImageSize) image associated with the app.
time A slot for displaying the time relevant to the contents of the card.
content The main slot for a content of this card