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

Unhandled Exception: MissingPluginException(No implementation found for method brightness on channel github.com/clovisnicolas/flutter_screen) #19

Open
cyany opened this issue Sep 27, 2019 · 2 comments

Comments

@cyany
Copy link

cyany commented Sep 27, 2019

i added screen: 0.0.5 in pubspec.yaml and run flutter pub get .
but run main.dart cause the result

@karolzlot
Copy link

karolzlot commented Dec 20, 2019

I tried this:
Screen.setBrightness(0.5);
And I have similar error:

Exception has occurred.
MissingPluginException (MissingPluginException(No implementation found for method setBrightness on channel github.com/clovisnicolas/flutter_screen))

@karolzlot
Copy link

This is solution: flutter/flutter#10912 (comment)

You just have to close whole debugging (close app completely) and start debugging again.
Restart or refresh are not sufficient (in vscode at least)

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

No branches or pull requests

2 participants