m3_adaptive_theme library

M3 Adaptive Theme

A Flutter package that makes it easy to implement Material 3 (Material You) adaptive theming with minimal configuration.

Classes

AccessibilityUtils
Utilities for theme accessibility
AnimatedThemeTransition
A widget that animates the theme transition
ColorBlindnessUtils
A utility class for simulating different types of color blindness.
CrossFadeThemeTransition
A widget that animates theme mode transition with a cross-fade effect
DynamicColorSwitch
A widget that displays a switch for toggling dynamic colors
M3AdaptiveTheme
Provides theme data throughout the widget tree
M3Constants
Constants used in the M3 Adaptive Theme package
PlatformUtils
Provides platform-specific utility functions
SaveThemePresetDialog
A dialog for saving a new theme preset
ScaleFadeThemeTransition
A widget that applies a scale and fade animation during theme changes
SeedColorPicker
A widget that displays a color picker for selecting the seed color
ThemeConfig
Configuration for M3 Adaptive Theme
ThemeInspector
A widget that displays detailed information about the current theme for debugging purposes.
ThemeManager
Manages theme state and transitions for the application
ThemeModeToggle
A widget that allows switching between light and dark themes
ThemePreset
A preset theme configuration that can be saved and applied
ThemePresetGrid
A widget that displays a grid of theme presets

Enums

ColorBlindnessType
Represents different types of color blindness for simulation purposes.
EmphasisLevel
Emphasis levels for text and UI elements

Extensions

BrightnessExtensions on Brightness
Extensions on Brightness for easier checks
ColorSchemeExtensions on ColorScheme
Extensions on ColorScheme for additional functionality
ThemeExtensions on BuildContext
Extensions on BuildContext for easier theme access