horizontal list space between items flutetr listview 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]),
),