build method

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

Builds the geometric path for this bubble shape.

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

Returns a Path object representing the bubble shape's outline.

Implementation

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