square property

RoundedPolygon square
final

A square shape.

Implementation

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