square property

RoundedPolygon square
final

A square shape.

Implementation

static final square = RoundedPolygon.rectangle(
  width: 1,
  height: 1,
  rounding: _cornerRound30,
  centerX: 0.5,
  centerY: 0.5,
);