FloatingItemHeadingAndText

fun FloatingItemHeadingAndText(heading: String, text: AnnotatedString, modifier: Modifier = Modifier, showChevron: Boolean = false, image: @Composable () -> Unit = {}, trailingContent: @Composable () -> Unit = {})
fun FloatingItemHeadingAndText(heading: String, text: String, modifier: Modifier = Modifier, showChevron: Boolean = false, 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
showChevron

whether to show a right chevron icon on the right side.

image

optional image, shown to the left of the text.

trailingContent

optional trailing content.