Card.filled constructor
Create a filled variant of Card.
Filled cards provide subtle separation from the background. This has less emphasis than elevated cards (the default) or outlined cards.
If ThemeData.useMaterial3 is false, this constructor is equivalent to the default constructor of Card.
Implementation
const Card.filled({
super.key,
this.color,
this.shadowColor,
this.surfaceTintColor,
this.elevation,
this.shape,
this.borderOnForeground = true,
this.margin,
this.clipBehavior,
this.child,
this.semanticContainer = true,
}) : assert(elevation == null || elevation >= 0.0),
_variant = _CardVariant.filled;