Search packages, repositories and app categories

Package detailsv3.3.0

system_theme

A Flutter Plugin to retrieve and listen to the system's accent color. Supports Android, iOS, Web, Windows, macOS, and Linux.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
7.6K
Likes
123
Pub points
160

Install package

flutter pub add system_theme

Package Overview

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

The system_theme package enables Flutter applications to access and respond to the system's accent color across multiple platforms, including Android, iOS, Web, macOS, Windows, and Linux. It provides a simple way to retrieve the current system accent color and listen for changes, enhancing app UI consistency with device-level themes. Ideal for apps aiming to match native system aesthetics without manual theme management.

Use cases

  • Matching system accent colors in app UI
  • Creating dynamic themes based on system preferences
  • Building cross-platform apps with native look and feel
  • Automatically updating colors when system theme changes
  • Enhancing accessibility with system-defined color schemes

Key features

  • Real-time listening to system accent color changes
  • Cross-platform support for all major operating systems
  • Simple API for retrieving current accent color
  • Automatic updates when system theme changes
  • Lightweight and easy to integrate

Suitable for

  • Developers targeting native-like UIs
  • Apps requiring dynamic theme adaptation
  • Projects focused on accessibility and user experience
  • Cross-platform Flutter applications
  • Designers wanting seamless system integration

Considerations

  • Limited to accent color; does not manage full theme modes
  • Behavior may vary slightly between platforms
  • Requires platform-specific permissions on some OSes
  • Not suitable for complex theme management beyond accent colors
  • Depends on system-level color availability

Categories

Dependencies

Dependency list 1 items

  • system_theme_web^0.0.5

Source repository

Projects using this package