setLinePath method
Implementation
@override
void setLinePath(List<Offset> path, Color color, double strokeWidth) {
_paintPath.color = color;
_paintPath.strokeWidth = strokeWidth;
_linePath = path;
super.setLinePath(path, color, strokeWidth);
}