Flutter: RenderBox was not laid out

前端 未结 7 1029
清酒与你
清酒与你 2020-11-30 02:20

I\'m trying to create a ListView but when I import the list_form.dart class i get this error. Maybe I made some mistakes with the layout because if I try to run it inside th

7条回答
  •  没有蜡笔的小新
    2020-11-30 02:46

    I had a simmilar problem, but in my case I was put a row in the leading of the Listview, and it was consumming all the space, of course. I just had to take the Row out of the leading, and it was solved. I would recomend to check if the problem is a widget larger than its containner can have.

提交回复
热议问题