flutter listview Vertical viewport was given unbounded height. code example
Example: vertical viewport was given unbounded height listview flutter
Use shrinkWrap: true in ListView.
Column(
children: [
ListView(
shrinkWrap: true, // use this
),
],
)
----------------------------
2 . Wrap ListView in Expanded
Column(
children: [
Expanded( // wrap in Expanded
child: ListView(...),
),
],
)