drawPath method

  1. @override
void drawPath(
  1. Path path
)
override

How to draw path of this shape.

Implementation

@override
void drawPath(Path path) {
  path.moveTo(start.dx, start.dy);

  for (var cubic in cubics) {
    path.cubicTo(
      cubic[0].dx,
      cubic[0].dy,
      cubic[1].dx,
      cubic[1].dy,
      cubic[2].dx,
      cubic[2].dy,
    );
  }
}