shape property

ShapeBorder? shape
final

The shape of the card's Material.

Defines the card's Material.shape.

If this property is null then CardTheme.shape of ThemeData.cardTheme is used. If that's null then the shape will be a RoundedRectangleBorder with a circular corner radius of 12.0 and if ThemeData.useMaterial3 is false, then the circular corner radius will be 4.0.

Implementation

final ShapeBorder? shape;