Elevated
fun Elevated(modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: Color = SparkTheme.colors.surface, contentPadding: PaddingValues = PaddingValues(16.dp), content: @Composable ColumnScope.() -> Unit)(source)
Elevated card with a drop shadow. More separation from the background than Flat, less than Outlined.

Parameters
modifier
the Modifier to be applied to this card
shape
the shape of this card
colors
background color of the card
contentPadding
padding around the content
content
content of the card
fun Elevated(onClick: () -> Unit, modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: Color = SparkTheme.colors.surface, contentPadding: PaddingValues = PaddingValues(16.dp), content: @Composable ColumnScope.() -> Unit)(source)
Clickable elevated card with a drop shadow. More separation from the background than Flat, less than Outlined.

Parameters
onClick
called when this card is clicked
modifier
the Modifier to be applied to this card
shape
the shape of this card
colors
background color of the card
contentPadding
padding around the content
content
content of the card