getPath method
Implementation
@override
Path getPath(Size size) {
final middleHeight = size.height / 2;
final middleWidth = size.width / 2;
return Path()
..addOval(Rect.fromCircle(
center: Offset(middleWidth, middleHeight),
radius: min(middleHeight, middleWidth)))
..close();
}