TitleCardContent
Source set: Android
@Composable
public fun TitleCardContent(
title: @Composable RowScope.() -> Unit,
modifier: Modifier = Modifier,
time: @Composable (() -> Unit)? = null,
subtitle: @Composable (ColumnScope.() -> Unit)? = null,
colors: CardColors = CardDefaults.cardColors(),
content: @Composable (() -> Unit)? = null,
)
Parameters
| title | A slot for displaying the title of the card, expected to be one of two lines of text. |
| modifier | Modifier to be applied to the title card content layout. |
| time | An optional slot for displaying the time relevant to the contents of the card, expected to be a short piece of text. Depending on whether we have a content or not, can be placed at the end of the title line or above it. |
| subtitle | An optional slot for displaying the subtitle of the card, expected to be one line of text. |
| colors | CardColors that will be used to resolve the colors used for this card. |
| content | The optional body content of the card. |