CubicCurveElement constructor Null safety

CubicCurveElement(
  1. {required bool relative,
  2. required Offset firstControlPoint,
  3. required Offset secondControlPoint,
  4. 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,
});