Card constructor

const Card({Key key, Color color, double elevation, ShapeBorder shape, EdgeInsetsGeometry margin: const EdgeInsets.all(4.0), Clip clipBehavior: Clip.none, Widget child, bool semanticContainer: true })

Creates a material design card.

The clipBehavior argument must not be null.

Implementation

const Card({
  Key key,
  this.color,
  this.elevation,
  this.shape,
  this.margin = const EdgeInsets.all(4.0),
  this.clipBehavior = Clip.none,
  this.child,
  this.semanticContainer = true,
}) : super(key: key);