shape constant

PropDef<DecorationShape> const shape

A rectangle (rounded by radius) or a circle (BoxShape.circle).

Implementation

static const shape = PropDef<DecorationShape>('shape', EnumCodec(DecorationShape.values), DecorationShape.rectangle);