FloatingItemCenteredText
fun FloatingItemCenteredText(text: AnnotatedString, modifier: Modifier = Modifier, showChevron: Boolean = false)
An item showing centered italicized text in the secondary/muted color.
This is intended to be used in an FloatingItemList for showing that it's empty, e.g. text would be "Gizmos will appear here, use + to add one".
Parameters
text
the text to show.
modifier
showChevron
whether to show a right chevron icon on the right side.
fun FloatingItemCenteredText(text: String, modifier: Modifier = Modifier, showChevron: Boolean = false)
An item showing centered italicized text in the secondary/muted color.
This is intended to be used in an FloatingItemList for showing that it's empty, e.g. text would be "Gizmos will appear here, use + to add one".
Parameters
text
the text to show.
modifier
a Modifier.
showChevron
whether to show a right chevron icon on the right side.