CardModifier constructor
const
CardModifier({})
Creates a Material Design card.
The elevation
must be null or non-negative. The borderOnForeground
must not be null.
Implementation
const CardModifier({
super.key,
super.modifierKey,
super.child,
this.color,
this.shadowColor,
this.surfaceTintColor,
this.elevation,
this.shape,
this.borderOnForeground = true,
this.margin,
this.clipBehavior,
this.semanticContainer = true,
});