fill method
Implementation
void fill(PathFillType fillType) {
addAction((Canvas canvas, Size size) {
path2d.path.fillType = fillType;
Paint paint = Paint()
..color = fillStyle
..style = PaintingStyle.fill;
canvas.drawPath(path2d.path, paint);
});
}