flutter_adaptive_theme 0.0.1 copy "flutter_adaptive_theme: ^0.0.1" to clipboard
flutter_adaptive_theme: ^0.0.1 copied to clipboard

A Flutter package that automatically adapts your app's theme based on system settings, time of day, or user preferences with smooth transitions.

Changelog #

All notable changes to the flutter_adaptive_theme package will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2024-01-01 #

Added #

  • Initial release of flutter_adaptive_theme package
  • Support for multiple theme modes: System, Light, Dark, Time-based, and Custom
  • Time-based theme switching with configurable hours
  • Smooth theme transitions with customizable duration and curves
  • Persistent theme preferences using SharedPreferences
  • Provider integration for state management
  • Context extensions for easy theme access
  • Comprehensive example app demonstrating all features
  • Full test coverage for all components
  • MIT license

Features #

  • AdaptiveThemeMode: Enum for different theme modes with helper methods
  • AdaptiveThemeConfig: Configuration class for theme settings
  • TimeBasedThemeSettings: Settings for time-based theme switching
  • AdaptiveTheme: Core class managing theme logic and state
  • AdaptiveThemeProvider: Provider class for state management
  • AdaptiveThemeWidget: Widget providing theme functionality
  • AdaptiveThemeApp: Convenient app wrapper
  • AdaptiveThemeContent: Theme-aware content widget

Dependencies #

  • Flutter SDK >=3.10.0
  • Dart SDK >=3.0.0
  • shared_preferences: ^2.2.2
  • provider: ^6.1.1
1
likes
0
points
120
downloads

Publisher

verified publisherbechattaoui.dev

Weekly Downloads

A Flutter package that automatically adapts your app's theme based on system settings, time of day, or user preferences with smooth transitions.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, provider, shared_preferences

More

Packages that depend on flutter_adaptive_theme