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
Content copied to clipboard
SegmentedItemHeadingAndContent(heading = heading, content = content, modifier = modifier, showChevron = showChevron, image = image, trailingContent = trailingContent)Content copied to clipboard
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
a 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.