generatePath method

Path generatePath({
  1. bool? useBezier,
  2. required Rect rect,
})

Implementation

Path generatePath({bool? useBezier, required Rect rect}) {
  return Path()
    ..addOval(Rect.fromCircle(
      center: Offset(rect.width / 2.0, rect.height / 2.0),
      radius: min(rect.width / 2.0, rect.height / 2.0),
    ));
}