Card constructor

const Card({
  1. Key? key,
  2. Widget? child,
  3. Color? color,
  4. double? elevation,
  5. ShapeBorder? shape,
  6. Clip? clipBehavior,
  7. EdgeInsetsGeometry? margin,
  8. Color? shadowColor,
  9. bool borderOnForeground = true,
})

Implementation

const Card({
  super.key,
  this.child,
  this.color,
  this.elevation,
  this.shape,
  this.clipBehavior,
  this.margin,
  this.shadowColor,
  this.borderOnForeground = true,
});