CubicArc constructor

CubicArc({
  1. required Offset start,
  2. required Offset location,
  3. double size = 1.0,
})

Creates a CubicArc instance.

start The starting point of the arc. location The ending point of the arc. size The size ratio of the arc, typically between 0 and 1.

Implementation

CubicArc({
  required Offset start,
  required this.location,
  this.size = 1.0,
}) : super(start.dx, start.dy);