You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the first time that I'm trying to use this package but it does not even compile due to the following error ("hashValues" is not found or defined):
flutter run
Launching lib/main.dart on sdk gphone x86 in debug mode...
../../.pub-cache/hosted/pub.dev/flutter_math_fork-0.7.2/lib/src/widgets/selectable.dart:603:23: Error: The method 'hashValues' isn't defined for the class 'SelectionStyle'.
- 'SelectionStyle' is from 'package:flutter_math_fork/src/widgets/selectable.dart' ('../../.pub-cache/hosted/pub.dev/flutter_math_fork-0.7.2/lib/src/widgets/selectable.dart').
Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
int get hashCode => hashValues(
^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/flutter_math_fork-0.7.2/lib/src/ast/options.dart:400:7: Error: The method 'hashValues' isn't defined for the class 'FontOptions'.
- 'FontOptions' is from 'package:flutter_math_fork/src/ast/options.dart' ('../../.pub-cache/hosted/pub.dev/flutter_math_fork-0.7.2/lib/src/ast/options.dart').
Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
hashValues(fontFamily.hashCode, fontWeight.hashCode, fontShape.hashCode);
^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/flutter_math_fork-0.7.2/lib/src/ast/options.dart:434:7: Error: The method 'hashValues' isn't defined for the class 'PartialFontOptions'.
- 'PartialFontOptions' is from 'package:flutter_math_fork/src/ast/options.dart' ('../../.pub-cache/hosted/pub.dev/flutter_math_fork-0.7.2/lib/src/ast/options.dart').
Try correcting the name to the name of an existing method, or defining a method named 'hashValues'.
hashValues(fontFamily.hashCode, fontWeight.hashCode, fontShape.hashCode);
^^^^^^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
The variable text above is read from a json file. With both texts (decoded as Strings) bellow, the same error above occurs (both trying to run on android emulator or chrome):
Hello guys! Hope you are doing well!
This is the first time that I'm trying to use this package but it does not even compile due to the following error (
"hashValues" is not found or defined
):My code:
The variable
text
above is read from a json file. With both texts (decoded as Strings) bellow, the same error above occurs (both trying to run on android emulator or chrome):"text":"test"
and"text": "e^{i\\pi}+1=0"
On
pubspec.yaml
:What could be the issue?
Thank you very much!
The text was updated successfully, but these errors were encountered: