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

The getter 'brightness' was called on null #33

Closed
HeinKhantZaw opened this issue Nov 8, 2019 · 1 comment
Closed

The getter 'brightness' was called on null #33

HeinKhantZaw opened this issue Nov 8, 2019 · 1 comment

Comments

@HeinKhantZaw
Copy link

I am using this library with switch button.
However, I always get this error.

The getter 'brightness' was called on null.
Receiver: null
Tried calling: brightness

How can I solve this?
P.S I am new to flutter and I still don't know what this error means. Please help me. Thanks in advanced.

@oravecz
Copy link

oravecz commented Dec 29, 2020

Did you end up resolving this? If so, can you share? I am experiencing the same problem.

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