shape property
The shape of the layer.
Defaults to BoxShape.rectangle. The borderRadius affects the corners of the rectangle.
Implementation
BoxShape get shape => _shape;
Implementation
set shape(BoxShape value) {
assert(value != null);
if (shape == value)
return;
_shape = value;
_markNeedsClip();
}