diamond property

RoundedPolygon diamond
final

A diamond shape.

Implementation

static final diamond = _customPolygon(
  [
    const _PointNRound(
      Point(0.5, 1.096),
      CornerRounding(radius: 0.151, smoothing: 0.524),
    ),
    const _PointNRound(
      Point(0.04, 0.5),
      CornerRounding(radius: .159),
    ),
  ],
  2,
).normalized();