I'm wondering if it is possible to have a vertical ListView with fixed height in a SingleChildScrollView and when there are no more contents in the vertical ListView the scrolling is applied to the whole screen (SingleChildScrollView)
something like this:
SingleChildScrollView(
child: Column(
children: [
// some widgets ....
Container(
constraints: BoxConstraints(maxHeight: 200),
child: ListView.builder(
// other settings
scrollDirection: Axis.vertical,
),
)
]
)
)
I am using Listview insted of
SingleChildScrollViewbut it is the same:github gist.
demo gif: