CardWidget constructor
const
CardWidget({
- Key? key,
- EdgeInsetsGeometry? margin,
- required Widget child,
- Color? backgroundColor,
- String? backgroundImage,
- VoidCallback? onPressed,
- BorderRadiusGeometry? borderRadius,
- Border? border,
- EdgeInsetsGeometry? padding,
- double? width,
- 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);