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

The method 'hashValues' isn't defined #67

Open
fatihdurmaz opened this issue Dec 16, 2024 · 8 comments
Open

The method 'hashValues' isn't defined #67

fatihdurmaz opened this issue Dec 16, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@fatihdurmaz
Copy link

Describe the bug
Error: The method 'hashValues' isn't defined for the class 'InfoWindow'. after flutter upgrade to 3.27
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone15 Pro]
  • Version [e.g. 18.2]

flutter doctor
Please add the flutter doctor output.

@fatihdurmaz fatihdurmaz added the bug Something isn't working label Dec 16, 2024
@mikklfr
Copy link

mikklfr commented Dec 16, 2024

Object.hash may be enough to replace the legacy hashValues method

@praiaBarryTolnas
Copy link

Here is the PR where this migration was done for flutter/flutter packages.

@xonaman
Copy link

xonaman commented Dec 18, 2024

Please let us know when it’s live on pub.dev!

@Anjula
Copy link

Anjula commented Dec 18, 2024

I forked and replaced the hashValues. Try using this.
https://github.com/Anjula/apple_maps_flutter

apple_maps_flutter:
   git:
     url: https://github.com/Anjula/apple_maps_flutter.git
     ref: cb853b3f3b86b3453559bf35f632696bb0357234

@xonaman
Copy link

xonaman commented Dec 18, 2024

We’re using platform_maps_flutter unfortunately, so this is no option for us.

@ChrisMarxDev
Copy link

@xonaman
I think you can add a dependency override for the apple_maps_flutter dependency and it should work.
e.g.

dependency_overrides:
    apple_maps_flutter:
       git:
         url: https://github.com/Anjula/apple_maps_flutter.git
         ref: cb853b3f3b86b3453559bf35f632696bb0357234

@xonaman
Copy link

xonaman commented Dec 18, 2024

@ChrisMarxDev looks like it’s working, thanks!

@winter-tech
Copy link

I forked and replaced the hashValues. Try using this. https://github.com/Anjula/apple_maps_flutter

apple_maps_flutter:
   git:
     url: https://github.com/Anjula/apple_maps_flutter.git
     ref: cb853b3f3b86b3453559bf35f632696bb0357234

#64
Can you help me take a look at this issue? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants