CurveTween constructor

CurveTween(
  1. {@required Curve curve}
)

Creates a curve tween.

The curve argument must not be null.

Implementation

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