I have a widget tree like this:
SingleChildScrollView
Column
Container
ListView(or GridView)
the problem is that when my wid
You could use your first widget-tree and apply the following changes:
ListView
and GridView
set shrinkWrap: true
. This fixes the error message you were getting.ListView
and GridView
set physics: NeverScrollableScrollPhysics()
. This disables the scroll on them and new you can only scroll on the SingleChildScrollView