-
Notifications
You must be signed in to change notification settings - Fork 37
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
In flutter 3.10 AdaptiveThemeMode.system won't work as it should be. #46
Comments
Thank you @YonasAlem for reporting this issue. Would you also provide some additional info like what device and OS were you able to reproduce this on? was it a simulator or a real device? |
Real android device.
…On Mon, 15 May 2023, 10:33 Birju Vachhani, ***@***.***> wrote:
Thank you @YonasAlem <https://github.com/YonasAlem> for reporting this
issue. Would you also provide some additional info like what device and OS
were you able to reproduce this on? was it a simulator or a real device?
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZDK3MMD75P5X2BSHWPB6OLXGHL23ANCNFSM6AAAAAAYBV2ERQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@YonasAlem So I have dart theme enabled in system and adaptiveThemeMode.system selected in the app. I go to settings and tun off dark theme and then go back to the app and the app is in light theme now as expected. Am I doing anything wrong? Can you try to reproduce with the example app please? untitled.mp4 |
@BirjuVachhani I'm sorry for the delay. I found out that the problem was not in your package, instead it was another package called #flutter_screenutil. and they fixed it. and its all working now. sorry for misleading info on your package. thanks for your time. |
@YonasAlem No problem! Glad I could help! |
Describe the bug
When the theme mode is AdaptiveThemeMode.system and the current phone's system theme is dark mode and when you launch the app it will display the dark theme. but while the app is opened and when you change the the phone's system theme to light mode the app will not reflect to the change. but after restart it will change to light mode.
but vice versa is still working fines, when you launch the app from light mode.
before flutter 3.10 it works as it should.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
when changing the systems theme from dark to light, the app should also react to that.
Screenshots
No need.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: