-
-
Save Starchild13/1db120dd8c25521659caf9a6c470d3ef to your computer and use it in GitHub Desktop.
Flow Column Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@OptIn(ExperimentalLayoutApi::class) | |
@Composable | |
private fun FlowColumnExample() { | |
val textChipRememberOneState = remember { mutableStateOf("") } | |
FlowColumn(modifier = Modifier.padding(12.dp), verticalArrangement = Arrangement.spacedBy(8.dp)) { | |
listOf("Ronnie", "Harun", "Allela", "Tabby", "Jemimah", "Jessica", "Brayan", "Theo", | |
"Frank", "Juma", "David", "Hannah", "Nathan", "Auwal", "Aniedi", "Sodiq") | |
.forEach { name -> ChipItem(name, textChipRememberOneState) } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment