build method

  1. @override
Path build({
  1. Rect? rect,
  2. double? scale,
})
override

Builds the geometric path for this circle shape.

rect - The bounding rectangle that defines the area within which the circle should be drawn. scale - Optional scaling factor (currently not used in this implementation).

Returns a Path object representing the circle's outline.

Implementation

@override
Path build({Rect? rect, double? scale}) {
  return generatePath(rect: rect!);
}