CubicCurveElement constructor

CubicCurveElement({
  1. required Offset startPoint,
  2. required bool relative,
  3. required Offset firstControlPoint,
  4. required Offset secondControlPoint,
  5. required Offset endPoint,
})

startPoint (Offset) REQUIRED 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.startPoint,
  required this.relative,
  required this.firstControlPoint,
  required this.secondControlPoint,
  required this.endPoint,
});