NotchedCard.filled constructor
const
NotchedCard.filled({
- Key? key,
- required GlobalKey<
State< guestKey,StatefulWidget> > - double notchMargin = 2,
- NotchedShape? shapeNotch,
- Color? color,
- Color? shadowColor,
- Color? surfaceTintColor,
- double? elevation,
- ShapeBorder? shape,
- bool borderOnForeground = true,
- EdgeInsetsGeometry? margin,
- Clip? clipBehavior,
- Widget? child,
- bool semanticContainer = true,
Create a filled variant of Card.
Filled cards provide subtle separation from the background. This has less emphasis than elevated(default) or outlined cards.
Implementation
const NotchedCard.filled({
super.key,
required this.guestKey,
this.notchMargin = 2,
this.shapeNotch,
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;