Scroll ofVertical viewport was given unbounded width. code example
Example 1: Vertical viewport was given unbounded height.
Column(
children: <Widget>[
ListView(
shrinkWrap: true, // use this
),
],
)
Example 2: Vertical viewport was given unbounded height.
Column(
children: <Widget>[
SizedBox(
height: 400, // fixed height
child: ListView(...),
),
],
)