margin property

EdgeInsetsGeometry? margin
final

The empty space that surrounds the card.

Defines the card's outer Container.margin.

If this property is null then CardTheme.margin of ThemeData.cardTheme is used. If that's null, the default margin is 4.0 logical pixels on all sides: EdgeInsets.all(4.0).

Implementation

final EdgeInsetsGeometry? margin;