Composable Function

RemoteOutlinedCard

Outlined Wear Material 3 RemoteCard that offers a single slot to take any content.

RemoteOutlinedCard

Source set: Android
@Composable
public fun RemoteOutlinedCard(
    onClick: RemoteAction,
    modifier: RemoteModifier = RemoteModifier,
    enabled: RemoteBoolean = true.rb,
    shape: RemoteShape = RemoteCardDefaults.shape,
    colors: RemoteCardColors = RemoteCardDefaults.outlinedCardColors(),
    border: RemoteBorderStroke = RemoteCardDefaults.outlinedCardBorder(),
    contentPadding: RemotePaddingValues = RemoteCardDefaults.ContentPadding,
    content: @Composable @RemoteComposable () -> Unit,
)

Outlined Wear Material 3 RemoteCard that offers a single slot to take any content.

Parameters

onClick Will be called when the user clicks 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. See RemoteCardDefaults.outlinedCardColors.
border A RemoteBorderStroke used for drawing the card's outline border
contentPadding The spacing values to apply internally between the container and the content
content The main slot for the content of this card
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: