FLUTTER ECOSYSTEM

dynamic_color_theme

Dynamically change your color theme, including light and dark mode. Persist the colors across restarts.

dynamic_color_theme cover
Latest version
2.0.0
30-day downloads
77
Likes
29
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter package that enables dynamic theme switching between light and dark modes, with persistent color preferences across app restarts. It simplifies theme management by automatically adapting to system preferences or allowing user-defined custom themes. The package supports all major platforms, ensuring consistent UI experiences on Android, iOS, Web, macOS, Windows, and Linux. Developers can easily integrate and customize color schemes while maintaining state even after the app is closed and reopened.

Use cases
  • Dynamic light/dark mode switching
  • Persisting user theme preferences
  • Custom color theme implementation
  • Cross-platform theme consistency
  • System theme auto-detection
  • Theme customization in apps
Key features
  • Light and dark mode support
  • Persistent theme storage
  • Customizable color schemes
  • Automatic system theme detection
  • Cross-platform compatibility
  • Easy integration with MaterialApp
Suitable for
  • Apps requiring theme persistence
  • Developers building cross-platform apps
  • UI-heavy applications
  • Apps with user preference settings
  • Design systems needing dynamic theming
Considerations
  • Requires proper state management
  • May need additional logic for complex theme transitions
  • Limited to color theme only (not full UI components)
  • Depends on platform-specific storage mechanisms
  • Not suitable for highly complex theming workflows
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add dynamic_color_theme

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects

No data available yet.