CustomCard constructor Null safety

const CustomCard(
  1. {Key? key,
  2. double? borderRadius,
  3. Widget? child,
  4. BoxShadow? boxShadow,
  5. Color? backgroundColor,
  6. EdgeInsetsGeometry? margin,
  7. EdgeInsetsGeometry? padding,
  8. bool? showOnOverflow}
)

Implementation

const CustomCard({
  Key? key,
  this.borderRadius,
  this.child,
  this.boxShadow,
  this.backgroundColor,
  this.margin,
  this.padding,
  this.showOnOverflow,
}) : super(key: key);