FloatingItemText
fun FloatingItemText(text: AnnotatedString, modifier: Modifier = Modifier, secondary: String? = null, image: @Composable () -> Unit = {}, trailingContent: @Composable () -> Unit = {})
fun FloatingItemText(text: String, modifier: Modifier = Modifier, secondary: String? = null, image: @Composable () -> Unit = {}, trailingContent: @Composable () -> Unit = {})
An item showing a text, with smaller secondary text below.
Parameters
text
text to be shown.
secondary
optional text to show below the main text, in secondary color and smaller font.
modifier
a Modifier.
image
optional image, shown to the left of the text.
trailingContent
optional trailing content.