extended_nested_scroll_view
extended_nested_scroll_view copied to clipboard
flutter master分支的BallisticScrollActivity类需要4个参数了,直接编译不过
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);
class BallisticScrollActivity extends ScrollActivity { /// Creates an activity that animates a scroll view based on a [simulation]. /// /// The [delegate], [simulation], and [vsync] arguments must not be null. BallisticScrollActivity( super.delegate, Simulation simulation, TickerProvider vsync, this.shouldIgnorePointer, ) { _controller = AnimationController.unbounded( debugLabel: kDebugMode ? objectRuntimeType(this, 'BallisticScrollActivity') : null, vsync: vsync, ) ..addListener(_tick) ..animateWith(simulation) .whenComplete(_end); // won't trigger if we dispose _controller first }
要修改下么,Flutter stable 3.3.3 也同步代码了
要修改下么,Flutter stable 3.3.3 也同步代码了
并没有发现有同步,breaking change 一般不会在hotfix里面包含的
感谢回复,查了下确实如此,是我本地缓存代码不太对