Adaptive Theme Versions Save

Easiest way to add support for light and dark theme in your flutter app.

3.0.0

2 years ago
  • Upgrade to Flutter 3.
  • Update & fix tests.
  • Update AdaptiveThemeMode enum.
  • Fix lints warnings & refactor code.

2.3.1

2 years ago
  • Fixed Material theme not updating on system theme change.
  • Updated example android project.

2.3.0

2 years ago
  • Fixed Cupertino theme not changing when on system mode.
  • Internal code cleanup.
  • Removed isDefault option from setTheme method. Default are meant to come from AdaptiveTheme widget itself.
  • Added flutter lints.
  • Fixed doc comments and typos.
  • Added reset and custom theme options in the example app.
  • Fixed AdaptiveTheme's brightness and theme getters.
  • Fixed CupertinoAdaptiveTheme's brightness and theme getters.
  • Added Tests.

2.2.0

3 years ago
  • Added support for Cupertino theme.

2.1.1

3 years ago
  • Fixed #18 - Dark theme not working properly on all platforms.

2.1.0

3 years ago
  • Fixed #16 - get theme and get darkTheme returns the same theme depended on mode
  • Added #15 - Notify listener when changing theme mode

2.0.0

3 years ago
  • Improved documentation
  • Stable null safety support
  • Calling AdaptiveTheme.of(context).toggleThemeMode() now will sequentially loop through AdaptiveThemeMode.light, AdaptiveThemeMode.dark and AdaptiveThemeMode.system instead of just AdaptiveThemeMode.light and AdaptiveThemeMode.dark.

2.0.0-nullsafety.1

3 years ago
  • Migrated to null safety

1.1.0

3 years ago
  • Removed hard coded shared_preferences version.
  • Hide public constructors for ThemePreferences.
  • AdaptiveTheme.of() now returns instance of AdaptiveThemeManager instead of AdaptiveThemeState to set restrictions for accessing state directly.

1.0.0

3 years ago
  • add option to get previous theme mode on app startup
  • add required docs to the repository
  • bump up the version