Card constructor

const Card({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry? padding,
  4. bool filled = false,
  5. Color? fillColor,
  6. BorderRadiusGeometry? borderRadius,
  7. Clip clipBehavior = Clip.none,
  8. Color? borderColor,
  9. double? borderWidth,
  10. List<BoxShadow>? boxShadow,
  11. double? surfaceOpacity,
  12. double? surfaceBlur,
  13. Duration? duration,
  14. VoidCallback? onPressed,
})

Implementation

const Card({
  super.key,
  required this.child,
  this.padding,
  this.filled = false,
  this.fillColor,
  this.borderRadius,
  this.clipBehavior = Clip.none,
  this.borderColor,
  this.borderWidth,
  this.boxShadow,
  this.surfaceOpacity,
  this.surfaceBlur,
  this.duration,
  this.onPressed,
});