HighlightElevated

fun HighlightElevated(modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: Color = SparkTheme.colors.main, contentPadding: PaddingValues = CardDefaults.paddingValues(true), heading: @Composable () -> Unit = { }, content: @Composable ColumnScope.() -> Unit)(source)

Highlight elevated card: colored top banner with drop shadow for maximum emphasis.

Highlight elevated card

Parameters

modifier

the Modifier to be applied to this card

shape

the shape of this card

colors

color used for the heading banner

contentPadding

padding around the content

heading

optional composable drawn in the top banner area

content

content of the card


fun HighlightElevated(onClick: () -> Unit, modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: Color = SparkTheme.colors.main, contentPadding: PaddingValues = CardDefaults.paddingValues(true), heading: @Composable () -> Unit = { }, content: @Composable ColumnScope.() -> Unit)(source)

Clickable highlight elevated card: colored top banner with drop shadow for maximum emphasis.

Highlight elevated card

Parameters

onClick

called when this card is clicked

modifier

the Modifier to be applied to this card

shape

the shape of this card

colors

color used for the heading banner

contentPadding

padding around the content

heading

optional composable drawn in the top banner area

content

content of the card