fluttercandies / extended_tabs

A powerful official extension library of Tab/TabBar/TabView, which support to scroll ancestor or child Tabs when current is overscroll, and set scroll direction and cache extent.
https://fluttercandies.github.io/extended_tabs/
MIT License
268 stars 49 forks source link

flutter 较新版本的PageMetrics中的devicePixelRatio属性变为了必要参数,希望可以更新一下依赖的sync_scroll_library库代码 #27

Closed a6372953 closed 1 year ago

a6372953 commented 1 year ago

Version

4.0.2

Platforms

Android, iOS

Device Model

iphone14 pro max

flutter info

Error (Xcode): ../../../../.pub-cache/hosted/pub.flutter-io.cn/sync_scroll_library-1.0.1/lib/src/gesture/gesture_state_mixin.dart:13:3: Error: No named parameter with the name 'devicePixelRatio'.

How to reproduce?

希望有空的话可以更新一下库,否则每次都要手动修改源码了

Logs

Error (Xcode): ../../../../.pub-cache/hosted/pub.flutter-io.cn/sync_scroll_library-1.0.1/lib/src/gesture/gesture_state_mixin.dart:13:3: Error: No named parameter with the name 'devicePixelRatio'.

Example code (optional)

No response

Contact

No response

a6372953 commented 1 year ago

这里是我flutter降级之后的报错,源码还没有还原,原报错信息是Required named parameter 'devicePixelRatio' must be provided

Tom3652 commented 1 year ago

Same issue here since flutter: 3.10

zmtzawqlp commented 1 year ago

done