flutter_easy_theme 1.1.0
flutter_easy_theme: ^1.1.0 copied to clipboard
A lightweight Flutter package for theme management with persistent theme mode support and customizable storage.
1.1.0 #
- Added the
EasyThemeStorageinterface to support custom storage implementations, such as Hive or Secure Storage. - Added support for providing a custom storage implementation to
EasyTheme.ensureInitialized. - Enhanced
BuildContextextensions with reactive (watch) and non-reactive (read) access patterns. - Fixed an issue where the saved theme mode could be incorrectly resolved during initialization.
- Improved documentation and examples for custom storage and context usage.
1.0.0 #
- Initial release.
- Added the
EasyThemewidget for theme management. - Added persistent theme storage using
SharedPreferences. - Added
BuildContextextensions for convenient theme access and control. - Supported
ThemeMode.light,ThemeMode.dark, andThemeMode.system. - Automatically responded to system brightness changes.
- Added
easyColormethod toBuildContextfor adaptive color handling. - Added
isDarkandisLightgetters toBuildContextfor quick theme status checks.