Releases: BirjuVachhani/adaptive_theme
Releases · BirjuVachhani/adaptive_theme
Release v3.0.0
- Upgrade to Flutter 3.
- Update & fix tests.
- Update AdaptiveThemeMode enum.
- Fix lints warnings & refactor code.
Release v2.3.1
- Fixed Material theme not updating on system theme change.
- Updated example android project.
Release v2.3.0
- Fixed Cupertino theme not changing when on system mode.
- Internal code cleanup.
- Removed
isDefault
option fromsetTheme
method. Default are meant to come fromAdaptiveTheme
widget itself. - Added flutter lints.
- Fixed doc comments and typos.
- Added
reset
and custom theme options in the example app. - Fixed
AdaptiveTheme
'sbrightness
andtheme
getters. - Fixed
CupertinoAdaptiveTheme
'sbrightness
andtheme
getters. - Added Tests.
Release v2.2.0
- Added support for Cupertino theme.
Release v2.1.1
- Fixed #18 - Dark theme not working properly on all platforms.
Release v2.1.0
Release v2.0.0
- Improved documentation
- Stable null safety support
- Calling
AdaptiveTheme.of(context).toggleThemeMode()
now will sequentially loop throughAdaptiveThemeMode.light
,AdaptiveThemeMode.dark
andAdaptiveThemeMode.system
instead of justAdaptiveThemeMode.light
andAdaptiveThemeMode.dark
.
Release v2.0.0-nullsafety.1
- Migrated to null safety
Release v1.1.0
- Removed hard coded
shared_preferences
version. - Hide public constructors for
ThemePreferences
. AdaptiveTheme.of()
now returns instance ofAdaptiveThemeManager
instead ofAdaptiveThemeState
to set restrictions for accessing state directly.
Release v1.0.0
- add option to get previous theme mode on app startup
- add required docs to the repository
- bump up the version