flutter listview Vertical viewport was given unbounded width code example
Example 1: Vertical viewport was given unbounded height.
ListView.builder(
scrollDirection: Axis.vertical,
shrinkWrap: true,
...
Example 2: Vertical viewport was given unbounded height.
Column(
children: <Widget>[
Expanded( // wrap in Expanded
child: ListView(...),
),
],
)