Releases: BirjuVachhani/adaptive_theme
Releases · BirjuVachhani/adaptive_theme
Release v3.7.0
- [BREAKING] Remove deprecated
CupertinoAdaptiveThemeManager
. UseAdaptiveThemeManager<CupertinoThemeData>
instead. - [BREAKING] Require Flutter
3.27.0
or higher: Replace deprecated use ofwithOpacity
withwithValues
. - Add
overrideMode
parameter toAdaptiveTheme
andCupertinoAdaptiveTheme
to override theme mode manually. - Fix unnecessary material imports.
- Update missing docs for source code.
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.