FloatingItemCenteredText

fun FloatingItemCenteredText(text: AnnotatedString, modifier: Modifier = Modifier, showChevron: Boolean = false)
fun FloatingItemCenteredText(text: String, modifier: Modifier = Modifier, showChevron: Boolean = false)

Deprecated

Use SegmentedItemCenteredText instead.

Replace with

import org.multipaz.compose.items.SegmentedItemCenteredText
SegmentedItemCenteredText(text = text, modifier = modifier, showChevron = showChevron)

An item showing centered italicized text in the secondary/muted color.

Parameters

text

the text to show.

modifier
showChevron

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