Jonathan White
Jonathan White
Sure, I just pushed another commit with the example added https://github.com/Norbert515/dynamic_theme/blob/0cedc2233014ca9f74aa7b1a37ce1fb0c0bb5fe0/example/lib/main.dart is the example file
It works for me ...
OK, I was expecting to see an error. It does show Light for me as well. One sec
I don't know how to resolve this cause it requires a WidgetsApp class above it.
Because they access the variable you set there or default it to ThemeMode.system. Inside the widget, it uses MediaQuery.platformBrightnessOf(context); which works because this is separated by a builder and the...
@Reprevise best thing I can do is make a warning or throw an error if it's put above the MaterialApp, mentioning that there's no ancestor found, since MediaQuery by default...
I've noticed that both `cancel` and `stop` both result in the plugin invoking the availabilityHandler with returning a result of false. I'm not sure why it has to be activated...
@DominicMaas , you can always transfer it to "The Collective", the [flutter community](https://github.com/fluttercommunity/community)
@dungnv2602, I don't have issues with this. I can import fine. Has there been a new version since you last tried?
It was only 3 months ago. It looks like the package maintainer abandoned the package last year. Did you find a better one, by the way?