-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译运行报错,是依赖问题吗? #129
Comments
Flutter 3.27.1 • channel stable • https://github.com/flutter/flutter.git |
我也遇到了相同的问题,有解决办法吗 |
试试 3.24.x 我在 3.24.5 版本下面勉强能跑起来 |
hashcode函数变了,一个库里依赖了
# flutter_sticky_header: ^0.6.5
flutter_sticky_header:
git:
url: https://github.com/GentlemanHu/flutter_sticky_header.git 或者用官方的新版本应该也修复了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via
platforms: linux: default_package: file_picker
or add an inline implementation to file_picker viaplatforms: linux:
pluginClass
ordartPluginClass
.Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via
platforms: macos: default_package: file_picker
or add an inline implementation to file_picker viaplatforms: macos:
pluginClass
ordartPluginClass
.Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via
platforms: windows: default_package: file_picker
or add an inline implementation to file_picker viaplatforms: windows:
pluginClass
ordartPluginClass
.Warning: In index.html:35: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.
Warning: In index.html:52: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.
../../../.pub-cache/hosted/pub.dev/flutter_slidable-3.1.1/lib/src/notifications_old.dart:88:23: Error: The method 'hashValues' isn't defined for the class 'SlidableRatioNotification'.
Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
int get hashCode => hashValues(tag, ratio);
^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/flutter_sticky_header-0.6.5/lib/src/widgets/sliver_sticky_header.dart:133:12: Error: The method 'hashValues' isn't defined for the class 'SliverStickyHeaderState'.
The text was updated successfully, but these errors were encountered: