nested_scroll_views 0.0.1 nested_scroll_views: ^0.0.1 copied to clipboard
Flutter nested scrolling views.
Nested Scrolling Views #
Flutter nested scrolling views.
Usage #
Replace flutter's views with the following views and use them nested.
View | Controller | Flutter |
---|---|---|
NestedPageView | NestedPageController | PageView |
NestedTabBarView | TabController | TabBarView |
NestedSingleChildScrollView | ScrollController | SingleChildScrollView |
Gotchas #
- Nested views always stay alive.
- NeverScrollableScrollPhysics invalid.
- Nested non-nested views with the same scroll direction will result in weird scrolling.