Skip to content
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

Error in latest version flutter 3.24 #498

Open
mfebrihariyadi opened this issue Aug 20, 2024 · 2 comments
Open

Error in latest version flutter 3.24 #498

mfebrihariyadi opened this issue Aug 20, 2024 · 2 comments

Comments

@mfebrihariyadi
Copy link

AppData/Local/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'.

  • 'SlidableRatioNotification' is from 'package:flutter_slidable/src/notifications_old.dart' ('AppData/Local/Pub/Cache/hosted/pub.dev/flutter_slidable-3.1.1/lib/src/notifications_old.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
    int get hashCode => hashValues(tag, ratio);
@mfebrihariyadi
Copy link
Author

Solved
Just upgrade gradle in Gradle wrapper
distributionUrl=https://services.gradle.org/distributions/gradle-8.4-all.zip

@amake
Copy link

amake commented Aug 24, 2024

This looks like a duplicate of #488, and it doesn't make any sense that upgrading Gradle would fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants