shape property

BoxShape get shape

The shape of the layer.

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

Implementation

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

Implementation

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