theming/animated_monet_theme
library
Classes
-
AnimatedMonetTheme
-
Animates solved palette colors with shared-progress interpolation.
Each palette/recipe has one critically damped 0→1 progress spring. A changed
target snapshots the visible colors and restarts progress from rest: position
is continuous, velocity intentionally is not. Frequent retargets may lag the
input more than a momentum-preserving spring, then catch up after it stops.
Contrast-polarity changes fade between solved colors rather than rerunning
the contrast solver on intermediate seeds. Intermediate colors are not
guaranteed to meet either endpoint's contrast requirement.
-
InterpolatedMonetThemeData
-
Interpolated theme data that lerps the three palettes while keeping
ThemeData stable by default to avoid Material transient states.
-
MonetThemeDataTween
-
Tween between two MonetThemeData instances using a scalar
t.