spacing in listview flutter code example
Example: flutter listview space between items
// Use ListView.separated()
ListView.separated(
separatorBuilder: (BuildContext context, int index) {
return SizedBox(
height: 5,
);
},
itemCount: zones.length,
itemBuilder: (_, i) => cardStyleZone(zones[i]),
),