📱 Flutter
Beginner
What is the Wrap widget?
Answer
The Wrap widget is like a Row or Column but automatically wraps its children to the next line when there is no more space. This makes it perfect for displaying a dynamic set of items like filter chips, tags, or badge lists that need to flow naturally across multiple lines. You can control the spacing between items horizontally and runSpacing between rows, as well as the direction (horizontal or vertical) and alignment.