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

滚动时报错 #114

Closed muchenfine closed 1 year ago

muchenfine commented 1 year ago

════════ Exception caught by animation library ═════════════════════════════════ The following assertion was thrown while notifying listeners for AnimationController: 'package:extended_nested_scroll_view/src/extended_nested_scroll_view.dart': Failed assertion: line 1760 pos 9: 'result': is not true. package:extended_nested_scroll_view/src/extended_nested_scroll_view.dart:1760

When the exception was thrown, this was the stack

2 _NestedOuterBallisticScrollActivity.applyMoveTo

package:extended_nested_scroll_view/src/extended_nested_scroll_view.dart:1760

3 BallisticScrollActivity._tick

package:flutter/…/widgets/scroll_activity.dart:553

4 AnimationLocalListenersMixin.notifyListeners

package:flutter/…/animation/listener_helpers.dart:155

5 AnimationController._tick

package:flutter/…/animation/animation_controller.dart:830

6 Ticker._tick

package:flutter/…/scheduler/ticker.dart:238

7 SchedulerBinding._invokeFrameCallback

package:flutter/…/scheduler/binding.dart:1146

8 SchedulerBinding.handleBeginFrame.

package:flutter/…/scheduler/binding.dart:1059

zmtzawqlp commented 1 year ago

demo,步骤

chenfasheng commented 6 months ago

demo,步骤 这个问题我也出现了,经过多次测试,问题出在ExtendedNestedScrollView上。 前提条件:嵌套滚动布局的情况下 结果一:NestedScrollView(正常) 结果二:ExtendedNestedScrollView(提示)