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
Can't get the plugin changes to take effect #5
Comments
I used
instead of
as suggested in #3 (comment) It works. Strange that the setBrightness method doesn't seem to work though. |
Sorry for the late response, I didn't see the issue.
If you do |
Personally I dont even use DynamicTheme.of(context).setBrightness() at all. thanks for a nice library. please put it to dart pub. |
Thanks! Currently, only the brightness value is persisted in the shared preferences, meaning if you use setThemeData() the values will reset when you restart the app. If that's the desired behavior, perfect! |
It's on pub! |
In main.dart I have this:
and on a screen later on in the app I call this method:
but nothing happens, and there is no error thrown. Any ideas what I may have done wrong?
The text was updated successfully, but these errors were encountered: