shape property Null safety

ShapeBorder? shape
final

Defines the material's shape as well its shadow.

If shape is non null, the borderRadius is ignored and the material's clip boundary and shadow are defined by the shape.

A shadow is only displayed if the elevation is greater than zero.

Implementation

final ShapeBorder? shape;