FLUTTER ECOSYSTEM

adaptive_theme

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

Latest version
3.8.0
30-day downloads
33.8K
Likes
955
Pub points
150

Package Overview

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

Overview

Adaptive Theme is a Flutter package that enables dynamic switching between light and dark themes, with built-in support for system-level theme adaptation. It simplifies theme management by allowing developers to seamlessly respond to user preferences across devices. The package integrates smoothly with Flutter’s theme system and supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. It provides a clean API for programmatically changing themes or syncing with the device's system settings.

Use cases
  • Dynamic theme switching in apps
  • Implementing system theme awareness
  • Creating accessible UIs with dark mode
  • Supporting user preference persistence
  • Building cross-platform applications
  • Enabling real-time theme updates
Key features
  • System theme auto-detection
  • Runtime theme switching
  • Persistent theme storage
  • Cross-platform compatibility
  • Simple API integration
  • Theme customization options
Suitable for
  • Developers building responsive UIs
  • Apps requiring dark mode support
  • Projects targeting multiple platforms
  • User-centric design implementations
  • Teams prioritizing accessibility
  • Flutter beginners learning theming
Considerations
  • Requires manual handling of theme state persistence
  • Limited to light/dark theme toggling
  • May need additional logic for complex theme schemes
  • Depends on correct initialization order
  • Not suitable for multi-theme designs beyond light/dark
  • Needs careful handling in multi-page navigation
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add adaptive_theme

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects