shape property

BoxShape shape

The shape of the layer.

Defaults to BoxShape.rectangle. The borderRadius affects the corners of the rectangle.

Implementation

BoxShape get shape => _shape;
void shape=(BoxShape value)

Implementation

set shape(BoxShape value) {
  if (shape == value) {
    return;
  }
  _shape = value;
  _markNeedsClip();
}