AnimatedProperty
class AnimatedProperty<T>(startValue: T, targetValue: T, spec: AnimationSpec, interpolate: (start: T, target: T, fraction: Float) -> T) : Animatable
A value that animates from startValue to targetValue over AnimationSpec.durationMs, following AnimationSpec.easing and AnimationSpec.repeatMode. interpolate is supplied by the caller because "what's halfway between two values" depends entirely on what T is (a plain number, a color, a position, ...) — this class only owns the timing/easing/repeat math, not the interpolation itself.