shape property

ShapeBorder? shape
final

Overrides the default value for Card.shape.

If null, Card then uses 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;