draw method Null safety
Implementation
@override
void draw(Canvas canvas, Path path) {
if (!isVisible) {
return;
}
path.fillType = fillType;
canvas.drawPath(path, paint);
}
@override
void draw(Canvas canvas, Path path) {
if (!isVisible) {
return;
}
path.fillType = fillType;
canvas.drawPath(path, paint);
}