container and listView Vertical viewport was given unbounded height. 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(...),
),
],
)