bun property

RoundedPolygon bun
final

A bun shape.

Implementation

static final bun = _customPolygon(
  [
    const _PointNRound(Point(0.796, 0.5)),
    const _PointNRound(
      Point(0.853, 0.518),
      CornerRounding(radius: 1),
    ),
    const _PointNRound(
      Point(0.992, 0.631),
      CornerRounding(radius: 1),
    ),
    const _PointNRound(
      Point(0.968, 1),
      CornerRounding(radius: 1),
    ),
  ],
  2,
  mirroring: true,
).normalized();