Package selection guidance compiled from public package information, community data, and project usage.
A visually appealing, animated Flutter widget that enables seamless switching between light and dark themes. Designed with customization in mind, it offers smooth transitions and a modern toggle interface suitable for any app requiring theme preferences. The package supports multiple platforms and integrates easily into existing projects. It enhances user experience by providing intuitive theme control with minimal setup.
Use cases
App theme preference settings
User interface with dynamic lighting modes
Enhancing accessibility through theme switching
Customizable UI components for developers
Cross-platform theme toggles
Key features
Animated theme transition
Highly customizable appearance
Supports all major platforms
Simple integration with Flutter apps
Lightweight and performant
Suitable for
Developers building apps with theme options
Designers seeking polished UI elements
Projects requiring responsive dark/light mode
Apps targeting diverse user preferences
Cross-platform mobile and web applications
Considerations
Requires manual handling of theme state persistence
Limited to basic toggle functionality
No built-in support for system theme detection
Custom styling may require additional code
Depends on external theme management logic
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
LightDarkThemeToggle
The LightDarkThemeToggle widget is a customizable and animated light/dark theme toggle switch for
Flutter apps. It provides a visually appealing way for users to switch between light and dark modes
in your app.
Features
Customizable size, color, padding, and tooltip.
Smooth animations with adjustable duration and curves.
Multiple animated icon styles using different theme icon types.
Built entirely with Dart code and CustomPainter for efficient rendering and better performance.