heart property

RoundedPolygon heart
final

A heart shape.

Implementation

static final heart = _customPolygon(
  [
    const _PointNRound(
      Point(0.5, 0.268),
      CornerRounding(radius: 0.016),
    ),
    const _PointNRound(
      Point(0.792, -0.066),
      CornerRounding(radius: 0.958),
    ),
    const _PointNRound(
      Point(1.064, 0.276),
      CornerRounding(radius: 1),
    ),
    const _PointNRound(
      Point(0.501, 0.946),
      CornerRounding(radius: 0.129),
    ),
  ],
  1,
  mirroring: true,
).normalized();