Flutter: RenderBox was not laid out
The problem is that you are placing the ListView inside a Column/Row. The text in the exception gives a good explanation of the error. To avoid the error you need to provide a size to the ListView inside. I propose you this code that uses an Expanded to inform the horizontal size (maximum available) and … Read more