FloatingItemHeadingAndContent

fun FloatingItemHeadingAndContent(heading: String, content: @Composable () -> Unit, modifier: Modifier = Modifier, showChevron: Boolean = false, image: @Composable () -> Unit = {}, trailingContent: @Composable () -> Unit = {})

An item showing a field heading with custom content below it.

This is intended for key-value inspector and detail views.

Parameters

heading

field label shown at the top in semi-bold.

content

custom content to display 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.