A FlowRow That Wraps Chips
Build a real wrapping layout from scratch.
What a Flow Row Does
A flow row places children left to right, then wraps to a new line when it runs out of width. Perfect for tag chips and filters. 🏷️
Start From the Layout Composable
You already know the tool: the Layout composable. The wrapping logic lives entirely in how you measure and place children.
Layout(content, modifier) { measurables, constraints ->
}All lessons in this course
- The Measure & Place Model
- Writing a Layout Composable
- Constraints & Intrinsic Measurements
- A FlowRow That Wraps Chips