Outlined

fun Outlined(modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: Color = SparkTheme.colors.surface, borderColor: Color = SparkTheme.colors.outline, contentPadding: PaddingValues = PaddingValues(16.dp), content: @Composable ColumnScope.() -> Unit)(source)

Outlined card with a visual boundary around the container. Can provide greater emphasis than other types.

Outlined card

Parameters

modifier

the Modifier to be applied to this card

shape

the shape of this card

colors

background color of the card

borderColor

color of the border

contentPadding

padding around the content

content

content of the card


fun Outlined(onClick: () -> Unit, modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: Color = SparkTheme.colors.surface, borderColor: Color = SparkTheme.colors.outline, contentPadding: PaddingValues = PaddingValues(16.dp), content: @Composable ColumnScope.() -> Unit)(source)

Clickable outlined card with a visual boundary around the container. Can provide greater emphasis than other types.

Outlined 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

background color of the card

borderColor

color of the border

contentPadding

padding around the content

content

content of the card