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
Try correcting the name to the name of an existing method, or defining a method named 'handleSystemMessage'. PaintingBinding.instance.handleSystemMessage({'type': 'fontsChange'}); #6
Comments
Also ran into this issue, running |
@codediodeio what version of flutter are you running after flutter upgrade? It didn't work for me |
I´m having the same problem, my flutter version is STABLE v1.9.1+hotfix.6, I will change to the beta that way ahead, it is on v1.12.13+hotfix.5, and see if the error still persists |
I'm testing on Flutter |
the stable version was upgraded to |
It's resolved after upgrading |
flutter upgrade worked for me too. Thanks @codediodeio |
I just ran flutter upgrade and all the working projects currently stopped working |
how to upgrade can u tell me |
Just enter the command "flutter upgrade" in your terminal console (check if you're in your correct folder application to do that) |
|
Flutter Upgrade doesn't work, anyone have a different solution? |
../.pub-cache/hosted/pub.dartlang.org/audio_service-0.17.1/lib/audio_service.dart:675:16: Error: The method 'setMockMethodCallHandler' isn't defined for the class 'MethodChannel'. |
Mentioned one possible solution above. Please check |
I had this issue while navigating to next page. |
Solved it by creating this functions then passing the image location/name |
flutter upgrade is the perfect answer for this issue |
did not work, it does not get info from the class |
it is not working .. |
Compiler message:
../../../flutter/.pub-cache/hosted/pub.dartlang.org/google_fonts-0.1.1/lib/src/google_fonts_base.dart:105:28: Error: The method 'handleSystemMessage' isn't defined for the class 'PaintingBinding'.
Try correcting the name to the name of an existing method, or defining a method named 'handleSystemMessage'.
PaintingBinding.instance.handleSystemMessage({'type': 'fontsChange'});
^^^^^^^^^^^^^^^^^^^
Compiler failed on /home/munene/Projects/Flutter/echo/lib/main.dart
The text was updated successfully, but these errors were encountered: