Another exception was thrown: Horizontal 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: [
Expanded( // wrap in Expanded
child: ListView(...),
),
],
)