Releases: BirjuVachhani/adaptive_theme
Releases · BirjuVachhani/adaptive_theme
Release v3.6.0
- Migrate
DebugFloatingThemeButton
to Material 3 by @Pavel-Sulimau. - Expose
DebugFloatingThemeButton
as a public widget for extensions to work with it.
Release v3.5.0
- Add support for dynamically changing
debugShowFloatingThemeButton
state usingAdaptiveTheme.of(context).setDebugShowFloatingThemeButton(bool)
method. - Allow reading state of
debugShowFloatingThemeButton
usingAdaptiveTheme.of(context).debugShowFloatingThemeButton
.
Release v3.4.1
- Fix readme example code.
- Update example app for a simpler example code.
- Update example to use Material 3.
Release v3.4.0
- FEAT: Add
useSystem
flag fortoggleThemeMode
method to toggle between light, dark only when the flag is set to
false. - Add more tests.
Release v3.3.1
- Add pub topics to package metadata.
- Upgrade dependencies.
Release v3.3.0
- Upgrade SDK constraints to Dart 3.0 and Flutter 3.10.0.
- Refactor deprecated api usages to new ones.
- Use
WidgetsBinding.instance.platformDispatcher
instead ofPlatformDispatcher.instance
since its recommended.
Release v3.2.1
- Fix missing inherited widget for CupertinoAdaptiveTheme.
Release v3.2.0
- Fix calling
AdaptiveTheme.of
orCupertinoAdaptiveTheme.of
not creating a dependency on it. - Add screenshots for pub.dev.
Release v3.1.1
- Add
fix_data.yaml
for Flutter fix feature for deprecation quick fix suggestion. - Remove redundant code.
- Update copyright headers.
Release v3.1.0
CupertinoAdaptiveThemeManager
is now deprecated and replaced withAdaptiveThemeManager<CupertinoThemeData>
in
favor of supporting theming for other UI frameworks. (e.g. Fluent UI). This will be removed inv4.0.0
.AdaptiveThemeManager
is now generic typed where the generic type represents the type of the theme data object.
ReplaceAdaptiveThemeManager
withAdaptiveThemeManager<ThemeData>
AdaptiveThemeManager
is now a mixin instead of an abstract class to reduce code duplication.