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 'AssetFlare' #325

Open
finau opened this issue Dec 15, 2024 · 4 comments · May be fixed by #327
Open

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

finau opened this issue Dec 15, 2024 · 4 comments · May be fixed by #327

Comments

@finau
Copy link

finau commented Dec 15, 2024

I can't able to build my App, the following error show up. It's more like this error on different library.

Failed to build iOS app
Error (Xcode): ../../../../.pub-cache/hosted/pub.dev/flare_flutter-3.0.2/lib/provider/asset_flare.dart:25:23: Error: The method
'hashValues' isn't defined for the class 'AssetFlare'.

Any solution or advice on how to fix this issue?

Flutter (Channel stable, 3.27.0, on macOS 14.5 23F79 darwin-x64

@cmkramer
Copy link

Same problem here:

Flutter (Channel stable, 3.27.0, on macOS 15.2 24C101 darwin-arm64, locale en-US)
Xcode - develop for iOS and macOS (Xcode 16.2)

@mbfakourii mbfakourii linked a pull request Dec 16, 2024 that will close this issue
@mbfakourii
Copy link

mbfakourii commented Dec 16, 2024

Until the PR is checked, you can use the following git import

flare_flutter:
  git:
    url: https://github.com/mbfakourii/Flare-Flutter.git
    path: flare_flutter
    ref: remove_hashValues

@PrashantSengar0523
Copy link

/C:/......./Pub/Cache/hosted/pub.dev/timelines-0.1.0/lib/src/connector_theme.dart:86:12: Error: The method 'hashValues' isn't defined for the class 'ConnectorThemeData'.

/C:/......./Pub/Cache/hosted/pub.dev/timelines-0.1.0/lib/src/indicator_theme.dart:80:23: Error: The method 'hashValues' isn't defined for the class 'IndicatorThemeData'.

/C:/.......Pub/Cache/hosted/pub.dev/timelines-0.1.0/lib/src/timeline_theme.dart:346:12: Error: The method 'hashList' isn't defined for the class 'TimelineThemeData'.

Target kernel_snapshot_program failed: Exception

Same here as well but in different class

@chrystoffer
Copy link

/C:/......./Pub/Cache/hosted/pub.dev/timelines-0.1.0/lib/src/connector_theme.dart:86:12: Error: The method 'hashValues' isn't defined for the class 'ConnectorThemeData'.

/C:/......./Pub/Cache/hosted/pub.dev/timelines-0.1.0/lib/src/indicator_theme.dart:80:23: Error: The method 'hashValues' isn't defined for the class 'IndicatorThemeData'.

/C:/.......Pub/Cache/hosted/pub.dev/timelines-0.1.0/lib/src/timeline_theme.dart:346:12: Error: The method 'hashList' isn't defined for the class 'TimelineThemeData'.

Target kernel_snapshot_program failed: Exception

Same here as well but in different class

your problem is in another package... you need to check the timelines package

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

Successfully merging a pull request may close this issue.

5 participants