An open API service indexing awesome lists of open source software.

https://github.com/hgraceb/nested_scroll_views

Flutter nested scrolling views.
https://github.com/hgraceb/nested_scroll_views

flutter nested scroll views

Last synced: about 1 month ago
JSON representation

Flutter nested scrolling views.

Awesome Lists containing this project

README

          

# Nested Scrolling Views

Flutter nested scrolling views.



NestedTabBarView.gif
NestedPageView.gif
NestedSingleChildScrollView.gif

## Usage

Replace flutter's views with the following views and use them nested.

| Flutter | Nested |
| --------------------- | --------------------------- |
| PageView | NestedPageView |
| TabBarView | NestedTabBarView |
| ListView | NestedListView |
| GridView | NestedGridView |
| CustomScrollView | NestedCustomScrollView |
| SingleChildScrollView | NestedSingleChildScrollView |

## Attention

1. Nested non-nested views with the same scroll direction will result in weird scrolling.
2. Nested views are kept alive by default, you can set `wantKeepAlive` to false, which may lead to loss of gesture events because the page is destroyed.

## Thanks

- [flutter](https://github.com/flutter/flutter):Flutter makes it easy and fast to build beautiful apps for mobile and beyond

- [union_tabs](https://github.com/wilin52/union_tabs):A nested TabBarView overscroll unites outer TabBarView scroll event
- [primary_page_view](https://gist.github.com/lwlizhe/558ee91b691a7d9e6873f16d9abccf78):FLutter Nested Primary PageView