CardWidget constructor

const CardWidget({
  1. Key? key,
  2. EdgeInsetsGeometry? margin,
  3. required Widget child,
  4. Color? backgroundColor,
  5. String? backgroundImage,
  6. VoidCallback? onPressed,
  7. BorderRadiusGeometry? borderRadius,
  8. Border? border,
  9. EdgeInsetsGeometry? padding,
  10. double? width,
  11. double? height,
})

Implementation

const CardWidget({
  Key? key,
  this.margin,
  required this.child,
  this.backgroundColor,
  this.backgroundImage,
  this.onPressed,
  this.borderRadius,
  this.border,
  this.padding,
  this.width,
  this.height,
}) : super(key: key);