buildPath method
Builds the path that defines this shape's outline.
The path should be constructed within the bounds of the given size.
The origin (0,0) represents the top-left corner.
Parameters:
size- The size of the node
Returns a Path that defines the shape's outline.
Implementation
@override
Path buildPath(Size size) {
final center = Offset(size.width / 2, size.height / 2);
return Path()..addOval(
Rect.fromCenter(center: center, width: size.width, height: size.height),
);
}