How to place a listview inside a SingleChildScrollView but prevent them from scrolling separately?

We can handle Listview inside SingleChildScrollView  by

Option 1:

Set shrinkWrap: true for Listview. This fixes the error message.

Set physics: NeverScrollableScrollPhysics()


Option 2:

   primary: false,
   shrinkWrap: true,

Subscribe For Daily Updates

Flutter Questions
Android Questions