FloatingItemHeadingAndContent

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

Deprecated

Use SegmentedItemHeadingAndContent instead.

Replace with

import org.multipaz.compose.items.SegmentedItemHeadingAndContent
SegmentedItemHeadingAndContent(heading = heading, content = content, modifier = modifier, showChevron = showChevron, image = image, trailingContent = trailingContent)

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

Parameters

heading

field label shown at the top.

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.