mirror of
https://github.com/flutter/flutter.git
synced 2026-01-20 20:55:29 +08:00
This adds CatmullRomCurve animation curve, and a CatmullRomSpline, which is what it uses to do interpolation. This allows us to create animation curves which can smoothly interpolate the values given to the curve. Since I've introduced a 2D spline curve, I also created a Curve2D base class for such parametric curves.