shape property

ShapeBorder shape
final

The shape of the card's Material.

Defines the card's Material.shape.

If this property is null then ThemeData.cardTheme.shape is used. If that's null then the shape will be a RoundedRectangleBorder with a circular corner radius of 4.0.

Implementation

final ShapeBorder shape