square property

RoundedPolygon square
final

A square shape.

Implementation

static final square = RoundedPolygon.rectangle(
  width: 1,
  height: 1,
  rounding: _cornerRound30,
  center: const Point(0.5, 0.5),
);