MayLau-CbL / flutter_horizontal_data_table

Flutter Fixed Column Horizontal Datatable Widget
https://pub.dev/packages/horizontal_data_table
MIT License
252 stars 70 forks source link

Bug #119

Open GokulP3 opened 1 year ago

GokulP3 commented 1 year ago

Describe the bug I got error after your update 4.3.1, The parameter not matched on scroll physics class

Platform Please describe the affected platfrom(eg. IOS, Android, Web, Window, Mac, Linux)

Screen Captures or Debug Log If applicable, add screenshots or debug log to help explain your problem.

Additional context ../../AppData/Local/Pub/Cache/hosted/pub.dev/horizontal_data_table-4.3.1/lib/refresh/pull_to_refresh/src/internals/refresh_physics.dart:306:13: Error: No named parameter with the name 'devicePixelRatio'. devicePixelRatio: scrollViewContext == null ^^^^^^^^^^^^^^^^ ../../flutter/packages/flutter/lib/src/widgets/scroll_metrics.dart:134:3: Context: Found this candidate, but the arguments don't match. FixedScrollMetrics({ ^^^^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dev/horizontal_data_table-4.3.1/lib/refresh/pull_to_refresh/src/internals/refresh_physics.dart:299:9: Error: The method 'toleranceFor' isn't defined for the class 'RefreshPhysics'.

FAILURE: Build failed with an exception.

BUILD FAILED in 9s Exception: Gradle task assembleDebug failed with exit code 1

MayLau-CbL commented 1 year ago

May you share your flutter version and dart version? It seems to me the version not supporting the changes

liuchaowei666 commented 1 year ago

flutter 3.7.12

GokulP3 commented 1 year ago

Flutter 3.7.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision 9944297138 (4 months ago) • 2023-02-08 15:46:04 -0800 Engine • revision 248290d6d5 Tools • Dart 2.19.2 • DevTools 2.20.1

This flutter version currently I'm using now!

is this support below version?

Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision 796c8ef792 (6 days ago) • 2023-06-13 15:51:02 -0700 Engine • revision 45f6e00911 Tools • Dart 3.0.5 • DevTools 2.23.1

MayLau-CbL commented 1 year ago

thanks, i will update the flutter version mapping in README.md For 3.7.x flutter can use the 4.2.0

yes, this latest is for 3.10.5 flutter version. the analyzer warned me some field is deprecated since 3.7.x-pre, i miss matched the package guideline it can support 3.7.x, acutally should be 3.10.x