drawPath method
How to draw path
of this shape.
Implementation
@override
void drawPath(Path path) {
path.moveTo(points[0].dx, points[0].dy);
for (var i = 1; i < points.length; i++) {
path.lineTo(points[i].dx, points[i].dy);
}
path.close();
}