Answers for "otherwise, consider using the "shrinkwrap" property (or a shrinkwrappingviewport) to size the height of the viewport to the sum of the heights of its children"

3

Vertical viewport was given unbounded height.

ListView.builder(
    scrollDirection: Axis.vertical,
    shrinkWrap: true,
...
Posted by: Guest on August-26-2020
1

Vertical viewport was given unbounded height.

Column(
  children: <Widget>[
    Expanded( // wrap in Expanded
      child: ListView(...),
    ),
  ],
)
Posted by: Guest on August-26-2020

Code answers related to "otherwise, consider using the "shrinkwrap" property (or a shrinkwrappingviewport) to size the height of the viewport to the sum of the heights of its children"

Browse Popular Code Answers by Language