Closed Taormina closed 1 week ago
We ran into this while debugging this issue.
Awesome! I double checked Object.hash()
. It's been available since Dart 2.14.0, so safe to use.
Just published 4.2.33, which contains this fix as well as a bunch of spine-cpp related fixes.
In an upcoming version of Flutter that is currently available on the beta and master channels, the old
hashValues
method has been deprecated. I'm not modifying the Flutter version in this PR, just helping the project get ready for that eventual transition.https://api.flutter.dev/flutter/dart-ui/hashValues.html more details can be found here but
Object.hash
is meant to be a drop-in replacement that also works outside of Flutter in pure Dart.