Answers for "how to add space between listview builder flutter"

0

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]),
),
Posted by: Guest on February-07-2021

Code answers related to "how to add space between listview builder flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language