CubicCurveElement constructor

CubicCurveElement({@required bool relative, @required Offset firstControlPoint @required Offset secondControlPoint @required Offset endPoint })

relative (bool) REQUIRED : Is it a relative move ? firstControlPoint (Offset) REQUIRED : First control point secondControlPoint (Offset) REQUIRED : Second control point endPoint (Offset) REQUIRED : end point

Implementation

CubicCurveElement({
  @required this.relative,
  @required this.firstControlPoint,
  @required this.secondControlPoint,
  @required this.endPoint,
});