shape property

ShapeBorder shape
final

A ShapeBorder object provides a description of a shape for a decoration. It can include information such as how round corners are to be or what the border edges should look like.

Employed only by buildShapeDecoration. Default is defaultShape, a RoundedRectangleBorder with a defaultRadius borderRadius of 5.0 and no border.

Implementation

final ShapeBorder shape;