Adaptive Theme Versions Save

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

3.6.0

3 months ago
  • Migrate DebugFloatingThemeButton to Material 3 by @Pavel-Sulimau.
  • Expose DebugFloatingThemeButton as a public widget for extensions to work with it.

3.5.0

4 months ago
  • Add support for dynamically changing debugShowFloatingThemeButton state using AdaptiveTheme.of(context).setDebugShowFloatingThemeButton(bool) method.
  • Allow reading state of debugShowFloatingThemeButton using AdaptiveTheme.of(context).debugShowFloatingThemeButton.

3.4.1

7 months ago
  • Fix readme example code.
  • Update example app for a simpler example code.
  • Update example to use Material 3.

3.4.0

8 months ago
  • FEAT: Add useSystem flag for toggleThemeMode method to toggle between light, dark only when the flag is set to false.
  • Add more tests.

3.3.1

8 months ago
  • Add pub topics to package metadata.
  • Upgrade dependencies.

3.3.0

11 months ago
  • 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.

3.2.1

1 year ago
  • Fix missing inherited widget for CupertinoAdaptiveTheme.

3.2.0

1 year ago
  • Fix calling AdaptiveTheme.of or CupertinoAdaptiveTheme.of not creating a dependency on it.
  • Add screenshots for pub.dev.

3.1.1

1 year ago
  • Add fix_data.yaml for Flutter fix feature for deprecation quick fix suggestion.
  • Remove redundant code.
  • Update copyright headers.

3.1.0

1 year ago
  • 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.