PackageTrack
Sign in Get early access

adaptive_theme

Allows to change between light and dark theme dynamically and add system adaptive theme support.

3.8.0 birjuvachhani/adaptive_theme

What this package is like to depend on

Last release 9 days ago

14 Aug 2026

Release timing varies

gaps range from 4 weeks to 11 months

Nearly every release is documented

notes for 27 of 27 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

28 releases · first in 2020

2 releases in the last 12 months

see the full history below

Release timeline

28 releases · May 2020 to Aug 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 28
  1. 3.8.0 14 Aug 2026
    Release notes

    adaptive_theme 3.8.0

    • [Breaking] Migrate to material_ui and cupertino_ui packages for Material and Cupertino theme data respectively.
    • [Breaking] Bump up minimum sdk version to 3.11.0.
    • [Breaking] Bump up minimum flutter version to 3.35.0.
    • [Breaking] Bump up minimum shared_preferences version to 2.5.0.

    adaptive_theme_fluent_ui 1.4.0

    • Add support for overrideMode property in FluentAdaptiveTheme to allow overriding the current theme mode.
    • [Breaking] 'reset' method in FluentAdaptiveTheme now returns Future<void> instead of Future<bool>.
    • [Breaking] Bump up minimum adaptive_theme version to 3.8.0.
    • [Breaking] Bump up minimum sdk version to 3.11.0.
    • [Breaking] Bump up minimum flutter version to 3.35.0.
    Open source →
    Release notes
    • [Breaking] Migrate to material_ui and cupertino_ui packages for Material and Cupertino theme data respectively.
    • [Breaking] Bump up minimum sdk version to 3.11.0.
    • [Breaking] Bump up minimum flutter version to 3.35.0.
    • [Breaking] Bump up minimum shared_preferences version to 2.5.0.
    Open source →
  2. 3.7.2 07 Oct 2025
    Release notes
    • Migrate Shared Preferences usage to new Async API.
    • Add AdaptiveTheme.read(context) method to read current theme without creating a dependency on it.
    Open source →
    Release notes
    • Migrate Shared Preferences usage to new Async API.
    • Add AdaptiveTheme.read(context) method to read current theme without creating a dependency on it.
    Open source →
  3. 3.7.1 15 Aug 2025
    Release notes
    • Code cleanup.
    • Remove deprecated class name usage from docs.
    Open source →
    Release notes
    • Code cleanup.
    • Remove deprecated class name usage from docs.
    Open source →
  4. 3.7.1+1 18 Aug 2025
    Release notes
    • Fix imports.
    Open source →
    Release notes
    • Fix imports.
    Open source →
  5. 3.7.1+2 18 Aug 2025
    Release notes
    • Re-generate example/web directory with latest Flutter version.
    • Bump up shared_preferences dependency's minimum constraints to 2.5.0.
    • Fix imports for Brightness.
    Open source →
    Release notes
    • Re-generate example/web directory with latest Flutter version.
    • Bump up shared_preferences dependency's minimum constraints to 2.5.0.
    • Fix imports for Brightness.
    Open source →
  6. 3.7.0 01 Jan 2025
    Release notes
    • [BREAKING] Remove deprecated CupertinoAdaptiveThemeManager. Use AdaptiveThemeManager<CupertinoThemeData> instead.
    • [BREAKING] Require Flutter 3.27.0 or higher: Replace deprecated use of withOpacity with withValues.
    • Add overrideMode parameter to AdaptiveTheme and CupertinoAdaptiveTheme to override theme mode manually.
    • Fix unnecessary material imports.
    • Update missing docs for source code.
    Open source →
    Release notes
    • [BREAKING] Remove deprecated CupertinoAdaptiveThemeManager. Use AdaptiveThemeManager<CupertinoThemeData> instead.
    • [BREAKING] Require Flutter 3.27.0 or higher: Replace deprecated use of withOpacity with withValues.
    • Add overrideMode parameter to AdaptiveTheme and CupertinoAdaptiveTheme to override theme mode manually.
    • Fix unnecessary material imports.
    • Update missing docs for source code.
    Open source →
  7. 3.6.0 30 Jan 2024
    Release notes
    • Migrate DebugFloatingThemeButton to Material 3 by @Pavel-Sulimau.
    • Expose DebugFloatingThemeButton as a public widget for extensions to work with it.
    Open source →
    Release notes
    • Migrate DebugFloatingThemeButton to Material 3.
    • Expose DebugFloatingThemeButton as a public widget for extensions to work with it.
    Open source →
  8. 3.5.0 31 Dec 2023
    Release notes
    • Add support for dynamically changing debugShowFloatingThemeButton state using AdaptiveTheme.of(context).setDebugShowFloatingThemeButton(bool) method.
    • Allow reading state of debugShowFloatingThemeButton using AdaptiveTheme.of(context).debugShowFloatingThemeButton.
    Open source →
    Release notes
    • Add support for dynamically changing debugShowFloatingThemeButton state using AdaptiveTheme.of(context).setDebugShowFloatingThemeButton(bool) method.
    • Allow reading state of debugShowFloatingThemeButton using AdaptiveTheme.of(context).debugShowFloatingThemeButton.
    Open source →
  9. 3.4.1 03 Oct 2023
    Release notes
    • Fix readme example code.
    • Update example app for a simpler example code.
    • Update example to use Material 3.
    Open source →
    Release notes
    • Fix readme example code.
    • Update example app for a simpler example code.
    • Update example to use Material 3.
    Open source →
  10. 3.4.0 03 Sep 2023
    Release notes
    • FEAT: Add useSystem flag for toggleThemeMode method to toggle between light, dark only when the flag is set to
      false.
    • Add more tests.
    Open source →
    Release notes
    • FEAT: Add useSystem flag for toggleThemeMode method to toggle between light, dark only when the flag is set to false.
    • Add more tests.
    Open source →
  11. 3.3.1 31 Aug 2023
    Release notes
    • Add pub topics to package metadata.
    • Upgrade dependencies.
    Open source →
  12. 3.3.0 02 Jun 2023
    Release notes
    • Upgrade SDK constraints to Dart 3.0 and Flutter 3.10.0.
    • Refactor deprecated api usages to new ones.
    • Use WidgetsBinding.instance.platformDispatcher instead of PlatformDispatcher.instance since its recommended.
    Open source →
  13. 3.2.1 04 May 2023
    Release notes
    • Fix missing inherited widget for CupertinoAdaptiveTheme.
    Open source →
  14. 3.2.0 13 Feb 2023
    Release notes
    • Fix calling AdaptiveTheme.of or CupertinoAdaptiveTheme.of not creating a dependency on it.
    • Add screenshots for pub.dev.
    Open source →
  15. 3.1.1 25 Jul 2022
    Release notes
    • Add fix_data.yaml for Flutter fix feature for deprecation quick fix suggestion.
    • Remove redundant code.
    • Update copyright headers.
    Open source →
  16. 3.1.0 23 Jun 2022
    Release notes
    • CupertinoAdaptiveThemeManager is now deprecated and replaced with AdaptiveThemeManager<CupertinoThemeData> in favor of supporting theming for other UI frameworks. (e.g. Fluent UI). This will be removed in v4.0.0.
    • AdaptiveThemeManager is now generic typed where the generic type represents the type of the theme data object. Replace AdaptiveThemeManager with AdaptiveThemeManager<ThemeData>
    • AdaptiveThemeManager is now a mixin instead of an abstract class to reduce code duplication.
    Open source →
  17. 3.0.0 17 May 2022
    Release notes
    • Upgrade to Flutter 3.
    • Update & fix tests.
    • Update AdaptiveThemeMode enum.
    • Fix lints warnings & refactor code.
    Open source →
  18. 2.3.1 03 Apr 2022
    Release notes
    • Fixed Material theme not updating on system theme change.
    • Updated example android project.
    Open source →
  19. 2.3.0 16 Oct 2021
    Release notes
    • 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.
    Open source →
  20. 2.2.0 16 Apr 2021
    Release notes
    • Added support for Cupertino theme.
    Open source →
  21. 2.1.1 09 Apr 2021
    Release notes
    • Fixed #18
    • Dark theme not working properly on all platforms.
    Open source →
  22. 2.1.0 05 Apr 2021
    Release notes
    • Fixed #16 - get theme and get darkTheme returns the same theme depended on mode
    • Added #15 - Notify listener when changing theme mode
    Open source →
  23. 2.0.0 12 Mar 2021
    Release notes
    • 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.
    Open source →
  24. 2.0.0-nullsafety.1 02 Mar 2021 pre-release
    Release notes
    • Migrate to null safety.
    Open source →
  25. 1.1.0 29 Oct 2020
    Release notes
    • 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.
    Open source →
  26. 1.0.0 01 Aug 2020
    Release notes
    • Add option to get previous theme mode on app startup.
    Open source →
  27. 0.1.1 04 May 2020
    Release notes
    • Add option to silently update theme without notifying. Useful when chaining multiple changes.
    Open source →
  28. 0.1.0 03 May 2020
    Release notes
    • Supports theme modes: light, dart, system default.
    • Persists theme modes across app restarts.
    • Allows to toggle theme mode between light and dark.
    • Allows to set default theme.
    • Allows to reset to default theme.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive