I having hard to understand the difference between NestedScrollView and CustomScrollView?
Asked
Active
Viewed 8,623 times
1 Answers
25
CustomScrollView
- is the most customizable way to build any "scroll" based layouts using Sliver
objects. SingleChildScrollView
and NestedScrollView
are both build on top of it.
NestedScrollView
- is a Wiget provided for a very particular use-case - to put One Scrollable object inside another (in most case - where the directions are not same).
This is what is mentioned in the doc for NestedScrollView
A scrolling view inside of which can be nested other scrolling views, with their scroll positions being intrinsically linked.
The beauty of flutter is that it is open source, you can check the source code to know what is going on under the hood.
Souce Code:

Harsh Bhikadia
- 10,095
- 9
- 49
- 70