margin property

double margin
final

The empty space that surrounds the card. The double passed as margin is applied to all the sides.

Shorthand for EdgeInsets.all(margin)

If customMargin is passed, then margin is ignored.

Defaults to 5.

See also

Implementation

final double margin;