Answers for "another exception was thrown: renderbox was not laid out:"

4

Another exception was thrown: RenderBox was not laid out: RenderFlex#2f914 relayoutBoundary=up4

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
Posted by: Guest on August-07-2021

Code answers related to "another exception was thrown: renderbox was not laid out:"

Browse Popular Code Answers by Language