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
599 stars 120 forks source link

滚动操作无法传递到 body #5

Closed seasonyuu closed 5 years ago

seasonyuu commented 5 years ago

extended.NestedScrollView 中设置了 controller 之后,调用 controller.jumpTo(offset),如果 offset 超过了 headerSliverBuilder 定义的 expandedHeight,则只会滚动到 expandedHeight,不会继续去操作 body 中的滚动。

且由于你的库中,对 body 中的控件设置了 controller,外部也已经不能再设置别的 controller 来进行控制了。

zmtzawqlp commented 5 years ago

这是官方代码。。我只是解决三个问题。。你也可以控制body里面的control。办法。我在群里讲过 image

zmtzawqlp commented 5 years ago

加群我让小伙伴告诉你做法