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

Unable to build with flutter 3.7.0 #120

Closed hukusuke1007 closed 1 year ago

hukusuke1007 commented 1 year ago

Here is the log.

../../../.pub-cache/hosted/pub.dev/extended_nested_scroll_view-5.1.3/lib/src/extended_nested_scroll_view.dart:1607:39: Error: Too few positional arguments: 4 required, 3 given.
        return BallisticScrollActivity(this, simulation, context.vsync);
                                      ^
../../../development/flutter/packages/flutter/lib/src/widgets/scroll_activity.dart:528:3: Context: Found this candidate, but the arguments don't match.
  BallisticScrollActivity(
  ^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/extended_nested_scroll_view-5.1.3/lib/src/extended_nested_scroll_view.dart:1679:12: Error: Too few positional arguments: 4 required, 3 given.
  ) : super(position, simulation, vsync);
           ^
../../../.pub-cache/hosted/pub.dev/extended_nested_scroll_view-5.1.3/lib/src/extended_nested_scroll_view.dart:1717:14: Error: Too few positional arguments: 4 required, 3 given.
        super(position, simulation, vsync);
hukusuke1007 commented 1 year ago

fixed build error https://github.com/hukusuke1007/extended_nested_scroll_view

masewo commented 1 year ago

Why did you set the default value of shouldIgnorePointer to true? I saw some Flutter internal code that said it does only ignore pointer, if the pointer device is not a trackpad.

hukusuke1007 commented 1 year ago

Why did you set the default value of shouldIgnorePointer to true? I saw some Flutter internal code that said it does only ignore pointer, if the pointer device is not a trackpad.

Same value as DrivenScrollActivity. https://api.flutter.dev/flutter/widgets/DrivenScrollActivity/shouldIgnorePointer.html

zanpen2000 commented 1 year ago

这个插件的作者还更新吗?

niko349 commented 1 year ago

I also have this problem, did you solve the problem?

niko349 commented 1 year ago

Here is the log.

../../../.pub-cache/hosted/pub.dev/extended_nested_scroll_view-5.1.3/lib/src/extended_nested_scroll_view.dart:1607:39: Error: Too few positional arguments: 4 required, 3 given.
        return BallisticScrollActivity(this, simulation, context.vsync);
                                      ^
../../../development/flutter/packages/flutter/lib/src/widgets/scroll_activity.dart:528:3: Context: Found this candidate, but the arguments don't match.
  BallisticScrollActivity(
  ^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/extended_nested_scroll_view-5.1.3/lib/src/extended_nested_scroll_view.dart:1679:12: Error: Too few positional arguments: 4 required, 3 given.
  ) : super(position, simulation, vsync);
           ^
../../../.pub-cache/hosted/pub.dev/extended_nested_scroll_view-5.1.3/lib/src/extended_nested_scroll_view.dart:1717:14: Error: Too few positional arguments: 4 required, 3 given.
        super(position, simulation, vsync);

Did you solve the problem?

masewo commented 1 year ago

Why did you set the default value of shouldIgnorePointer to true? I saw some Flutter internal code that said it does only ignore pointer, if the pointer device is not a trackpad.

Same value as DrivenScrollActivity. https://api.flutter.dev/flutter/widgets/DrivenScrollActivity/shouldIgnorePointer.html

Thank you! Works a lot better than with false.

piggerstar commented 1 year ago

fixed build error https://github.com/hukusuke1007/extended_nested_scroll_view

Hi, when I can get this update in stable versions?

aggeloskoutanis commented 1 year ago

This should stay open. The problem remains.