m3_adaptive_theme 1.0.0
m3_adaptive_theme: ^1.0.0 copied to clipboard
Effortlessly integrate Material 3 (Material You) adaptive theming into Flutter apps with dynamic color extraction, smart dark/light mode, and platform-aware features.
Changelog #
1.0.0 #
Features #
-
Full Material 3 adaptive theming support:
- Dynamic color extraction from wallpapers (Android 12+)
- Smart dark/light mode with WCAG-compliant color schemes
- Platform-specific optimizations for all supported platforms
- Theme persistence and seamless mode switching
- Advanced color density and harmonization controls
-
Core Functionality:
- Comprehensive preset theme management
- Platform-aware adaptations and optimizations
- Flexible configuration options via ThemeConfig
- Built-in accessibility features
- Type-safe theme controller API
-
Theme Transitions & Animations:
- AnimatedThemeTransition for background color animations
- CrossFadeThemeTransition for cross-fade effects
- ScaleFadeThemeTransition for scale and fade animations
- Smooth transitions between theme modes
-
Accessibility Tools:
- Contrast checking and text color optimization
- ThemeInspector widget for real-time theme debugging
- ColorBlindnessUtils for simulating different types of color vision deficiencies:
- Protanopia (red-blind) simulation
- Deuteranopia (green-blind) simulation
- Tritanopia (blue-blind) simulation
- Monochromacy (complete color blindness) simulation
-
UI Components:
- Preset management interface with import/export
- Theme comparison and preview tools
- Advanced customization controls
- Platform-specific showcase examples
-
Example App:
- Landing page showcasing key features
- Theme showcase demonstrating all Material 3 components
- Theme customizer for real-time theme modification
- Theme inspector screen for debugging
-
Developer Experience:
- Zero-boilerplate setup
- Comprehensive documentation
- Type-safe APIs throughout
- Example app with multiple showcases
- Improved color harmonization algorithms