CubicBezier constructor
const
CubicBezier({})
Creates a CubicBezier object with given parameters.
A cubic Bezier curve is defined by three points: it starts at the current
point, the curve is influenced by the first (x1
, y1
) and the second
(x2
, y2
) control points, and it ends at (x3
, y3
).
Implementation
const CubicBezier({
required this.x1,
required this.y1,
required this.x2,
required this.y2,
required this.x3,
required this.y3,
});