CurveTween({Curve curve })

Creates a curve tween.

The curve argument must not be null.

Source

CurveTween({ this.curve }) {
  assert(curve != null);
}