fluttercandies / extended_nested_scroll_view

extended nested scroll view to fix following issues. 1.pinned sliver header issue 2.inner scrollables in tabview sync issue 3.pull to refresh is not work. 4.do without ScrollController in NestedScrollView's body
MIT License
591 stars 117 forks source link

[Discussions] Can this be used to keep scroll position of `CustomScrollView`? #139

Closed erikas-taroza closed 1 year ago

erikas-taroza commented 1 year ago

Content

Hello.

I wanted to use NestedScrollPosition for my project, but I had issues with persisting scroll position. I did research and came across this package. I created a project to test it, but it seems that I still can't persist the scroll position. I am using PageStorageKey.

I checked the GitHub Pages site and the position is restored, but it is using a TabBarView. The body of my ExtendedNestedScrollView is CustomScrollView (also tried with ListView.builder). Does this only work with TabBarViews?

My test project works as expected when using a CustomScrollView instead of a NestedScrollView, but I need the headerSliverBuilder property of NestedScrollView.

erikas-taroza commented 1 year ago

I have made my own modifications to the NestedScrollView here. Works for my use case.