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: The method 'hashValues' isn't defined for the class #488

Open
mark8044 opened this issue Jul 20, 2024 · 10 comments
Open

Error: The method 'hashValues' isn't defined for the class #488

mark8044 opened this issue Jul 20, 2024 · 10 comments

Comments

@mark8044
Copy link

It looks like latest master branch PR has dropped hashList support flutter/flutter#151677. This is breaking for this repo with the following errors:

../../../.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' ('../../../.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);
                      ^^^^^^^^^^
@letsar
Copy link
Owner

letsar commented Jul 21, 2024

Yes, this PR has been merged to fixes this issue. For the moment it's only available on the master branch.

@Yogesh-Dubey-Ayesavi
Copy link

Yogesh-Dubey-Ayesavi commented Jul 23, 2024

I'am also getting the same issue, when would you release?

@mark8044
Copy link
Author

@letsar Thanks much. I left a comment in the PR, but can it be pushed to pub.dev so we can install it?

@PradeepChoran
Copy link

Waiting the update

@igorilin13
Copy link

Also ran into this, you can point to master until the new version is published:

  flutter_slidable:
    git:
      url: https://github.com/letsar/flutter_slidable.git
      ref: master

@PradeepChoran
Copy link

Thanks for your advice

@Shakenbeer
Copy link

git:
      url: https://github.com/letsar/flutter_slidable.git
      ref: master

Hi there. I am a flutter noob. Where to put those lines? As far as I understand .lock file is generated...

@PradeepChoran
Copy link

dev_dependencies:
flutter_test:
sdk: flutter
flutter_slidable:
git:
url: https://github.com/letsar/flutter_slidable.git
ref: master

@Shakenbeer
Copy link

Thank you good sir

amake added a commit to amake/org_flutter that referenced this issue Aug 28, 2024
amake added a commit to amake/org_flutter that referenced this issue Aug 28, 2024
amake added a commit to amake/orgro that referenced this issue Aug 28, 2024
@Shunt22
Copy link

Shunt22 commented Nov 12, 2024

When this fix will be on pub.dev?

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

7 participants