const Cubic(double a, double b, double c, double d)

Creates a cubic curve.

Rather than creating a new instance, consider using one of the common cubic curves in Curves.

The a, b, c, and d arguments must not be null.

Source

const Cubic(this.a, this.b, this.c, this.d);