-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Incorrect styling when using a theme switching toggle #20
Comments
Thanks for reporting this issue. The easiest way to check if it is a problem with this library is to replace the Which version of |
I am using version 1.1.2 and i have confirmed that using a |
The problem is fixed in version |
Looks like it's working on my end. I appreciate the quick turn around, Thanks! |
I'm writing an app for my workplace that has a light theme/dark theme toggle switch in a scaffold drawer. I've wrapped most of the text in the app with this widget for string length differences when localizing to other languages. Its been very helpful, but I'm finding that when i use the theme toggle the text colors aren't changing correctly. When loading a page in the app, the text is correctly contrasting against the background (black text on white BG and white text on grey BG) but once the theme toggle is activated the text then matches the background (black text on grey BG and white text on white BG). For reference, I've tried using this widget with two different theme toggling examples I've found online as a way to check if my implementation was causing the issue but its consistent with both of them. The two examples I used can be found at the following github repos
https://github.com/jorgecoca/theme_switcher/tree/theme-switcher-tutorial-1
https://github.com/iampawan/Flutter-Dynamic-Theming
if i need to provide anymore information, please let me know.
The text was updated successfully, but these errors were encountered: