Cubic constructor

const Cubic(
  1. double a,
  2. double b,
  3. double c,
  4. double d,
)

Creates a cubic curve.

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

Implementation

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