dynamic_theme
dynamic_theme copied to clipboard
Dynamically changing your theme without hassle
It changes the theme pretty well.... But it doesn't persist when I close and relaunch the app
Fix #63 * Changed version number to `2.0.0` * Migration to null-safety (Fix #62, Fix #60, Fix #59) * Now use the `ThemeMode` instead of `Brightness` (Fix #49). * `ThemedWidgetBuilder...
Hi @Norbert515, First of all, thank you for your package, it helped me a lot for the first few Flutter projects I've made. Your package seems to be unmaintained for...
Hello there, Do you have plan to update this package?
you can run your project with --no-sound-null-safety so now you add this line your main.dart file in top(first line) with comment.. //@dart=2.9 (the 'd' here is lower case)
The MR for nullsafety is merged: https://github.com/Norbert515/dynamic_theme/pull/56 Any schedule to release a new version? Thanks!
This project has been abandoned, I believe. No action from the plugin author for 2 years, lots of issues and outstanding pull requests.
see #52 - fixed this deprecation https://api.flutter.dev/flutter/widgets/BuildContext/inheritFromWidgetOfExactType.html
see https://api.flutter.dev/flutter/widgets/BuildContext/inheritFromWidgetOfExactType.html This means that after upgrading to this version, compiling the app gives: > Target dart2js failed: Exception: /C:/ToolsJK/flutter/.pub-cache/hosted/pub.dartlang.org/dynamic_theme-1.0.1/lib/dynamic_theme.dart:25:20: > Error: The method 'ancestorStateOfType' isn't defined for the class...
When using your package, the state crashes immediately after I change theme like this: ```Dart DynamicTheme.of(context).setThemeData(Theme.of(context).copyWith( primaryColor: Colors.red, accentColor: Colors.red )); ``` This is the stack: ``` I/flutter (10924): ══╡...