listview builder throwing 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>[
ListView(
shrinkWrap: true, // use this
),
],
)