FloatingItemHeadingAndText

fun FloatingItemHeadingAndText(heading: String, text: AnnotatedString, modifier: Modifier = Modifier, image: @Composable () -> Unit = {}, trailingContent: @Composable () -> Unit = {})
fun FloatingItemHeadingAndText(heading: String, text: String, modifier: Modifier = Modifier, image: @Composable () -> Unit = {}, trailingContent: @Composable () -> Unit = {})

An item showing a heading in bold with text below it.

Parameters

heading

will be shown in bold at the top.

text

will be shown below the heading.

modifier
image

optional image, shown to the left of the text.

trailingContent

optional trailing content.