CubicBezier.defaultCurve constructor

CubicBezier.defaultCurve()

Creates a default CubicBezier object with predefined parameters.

This factory constructor provides a convenient way to create a CubicBezier object with a preset cubic Bezier curve.

Implementation

factory CubicBezier.defaultCurve() =>
    const CubicBezier(x1: 0, y1: 0, x2: 0.25, y2: 50, x3: 0.5, y3: 0);