CustomCard constructor

const CustomCard({
  1. Key? key,
  2. Color? color,
  3. Color? shadowColor,
  4. Color? surfaceTintColor,
  5. double? elevation,
  6. ShapeBorder? shape,
  7. bool borderOnForeground = true,
  8. EdgeInsetsGeometry? margin,
  9. Widget? child,
  10. bool semanticContainer = true,
  11. EdgeInsets? padding,
  12. double? height,
  13. double? width,
  14. BorderRadius? borderRadius,
})

Implementation

const CustomCard({
  super.key,
  super.color,
  super.shadowColor,
  super.surfaceTintColor,
  //super.clipBehavior,
  super.elevation,
  super.shape,
  super.borderOnForeground = true,
  super.margin,
  super.child,
  super.semanticContainer = true,

  this.padding,
  this.height,
  this.width,
  this.borderRadius
});