pill property

RoundedPolygon pill
final

A pill shape.

Implementation

static final RoundedPolygon pill = _customPolygon(
  [
    const _PointNRound(Point(0.961, 0.039), CornerRounding(radius: 0.426)),
    const _PointNRound(Point(1.001, 0.428)),
    const _PointNRound(Point(1, 0.609), CornerRounding(radius: 1)),
  ],
  2,
  mirroring: true,
).normalized();