Failed assertion: line 1865 pos 16: 'constraints.hasBoundedHeight': is not true. code example
Example: Failed assertion: line 1861 pos 16: 'constraints.hasBoundedHeight': is not true.
Container(
height: double.maxFinite,
child: ListView.builder(
shrinkWrap: true,
scrollDirection: Axis.horizontal,
itemCount: 6,
itemBuilder: (BuildContext context, int index) {
return Text(
'${index}',
style:
TextStyle(color: Colors.white, fontSize: 146),
);
},
)),