HighlightOutlined

fun HighlightOutlined(modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, headingAndBorderColor: Color = SparkTheme.colors.main, borderWidth: Dp = 2.dp, contentPadding: PaddingValues = CardDefaults.paddingValues(), heading: @Composable BoxScope.() -> Unit = { }, content: @Composable ColumnScope.() -> Unit)(source)

Highlight outlined card with a colored banner at the top for additional emphasis.

Highlight outlined card

Parameters

modifier

the Modifier to be applied to this card

shape

the shape of this card

headingAndBorderColor

color used for the heading banner and the card border

contentPadding

padding around the content

heading

optional composable drawn in the top banner area

content

content of the card


fun HighlightOutlined(onClick: () -> Unit, modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, headingAndBorderColor: Color = SparkTheme.colors.main, borderWidth: Dp = 2.dp, contentPadding: PaddingValues = CardDefaults.paddingValues(), heading: @Composable BoxScope.() -> Unit = { }, content: @Composable ColumnScope.() -> Unit)(source)

Clickable outlined flat card with a colored banner at the top for additional emphasis.

Highlight 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

headingAndBorderColor

color used for the heading banner and the card border

contentPadding

padding around the content

heading

optional composable drawn in the top banner area

content

content of the card