getClip method
Returns a description of the clip given that the render object being clipped is of the given size.
Implementation
@override
Path getClip(Size size) {
final path = Path();
Rect shape;
path.fillType = PathFillType.evenOdd;
if (progress <= limit) {
shape = _createGrowingShape(path, size);
} else {
shape = _createShrinkingShape(path, size);
}
path.addArc(shape, 0, 90);
// path.addRect(rect);
return path;
}