Closed glofru closed 2 years ago
@glofru Take a look at this: https://github.com/flutter/flutter/issues/86975#issuecomment-890751189
Are you absolutely sure that this is different from what you're facing?
@glofru Take a look at this: flutter/flutter#86975 (comment)
Are you absolutely sure that this is different from what you're facing?
As far as I tried, it did not work on VSC and on terminal.
@glofru My point here is that If it is working on Android or web then it should also work on other platforms too. There is no platform specific code here neither it relies on any platform specific APIs. This is pure Flutter code which just manages the themes being passed to the CupertinoApp
or MaterialApp
.
If MaterialApp
is working and CupertinoApp
isn't then don't you think something could be wrong in Flutter SDK itself?
Huh... I tried CupertinoApp
on web and it didn't work. I am sure it was working before!
@glofru My point here is that If it is working on Android or web then it should also work on other platforms too. There is no platform specific code here neither it relies on any platform specific APIs. This is pure Flutter code which just manages the themes being passed to the
CupertinoApp
orMaterialApp
.If
MaterialApp
is working andCupertinoApp
isn't then don't you think something could be wrong in Flutter SDK itself?
It could be, but I think this package should fix this kind of things in case.
Eventually Flutter is gonna fix this but it makes sense! Let's what we can do!
@glofru This has been fixed in a more neat and effective way and is available in the release 2.3.0
.
Requirements
None.
Description of the Change
I have noticed that, with CupertinoApp, whenever you switched light/dark theme, the application did not update the theme. Moreover, setting "initial" to "AdaptiveMode.system", the app always started in dark mode despite the light mode on the device. I have made three mayors updates: