- Migrate Shared Preferences usage to new Async API.
- Add
AdaptiveTheme.read(context)method to read current theme without creating a dependency on it.
Unclaimed project
Are you a maintainer of adaptive_theme? Claim this project to take control of your public changelog and roadmap.
Changelog
Easiest way to add support for light and dark theme in your flutter app.
AdaptiveTheme.read(context) method to read current theme without creating a dependency on it.example/web directory with latest Flutter version.shared_preferences dependency's minimum constraints to 2.5.0.Brightness.CupertinoAdaptiveThemeManager. Use AdaptiveThemeManager<CupertinoThemeData> instead.3.27.0 or higher: Replace deprecated use of withOpacity with withValues.overrideMode parameter to AdaptiveTheme and CupertinoAdaptiveTheme to override theme mode manually.