alorma
07/20/2021, 4:51 PMDropdownMenu
with some DropdownMenuItem
I want to show some items with icon and some without... but i got this: code in 🧵alorma
07/20/2021, 4:51 PMDropdownMenuItem(onClick = {}) {
Row(
modifier = Modifier.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically,
) {
Icon(
imageVector = Icons.Default.Person,
contentDescription = action.contentDescription,
tint = LocalContentColor.current,
)
Text(text = "Action #0")
}
}
Chris Sinco [G]
07/20/2021, 5:07 PMRow
that shows/hides the iconalorma
07/20/2021, 5:11 PM