📜  引发了另一个异常:RenderBox 未布置:RenderFlex#2f914 relayoutBoundary=up4 - 不管代码示例

📅  最后修改于: 2022-03-11 14:57:06.011000             🧑  作者: Mango

代码示例1
You're trying to use ListView.builder in a FutureBuilder which has no sizes in a Column, so you need to constrain it somehow – either with SizedBox(height: 300, child: ListView.builder()) or with Expanded widget

Check out this article https://flutter.dev/docs/development/ui/layout/constraints