Card constructor
const
Card({
- Key? key,
- required Widget child,
- EdgeInsetsGeometry? padding,
- bool? filled,
- Color? fillColor,
- BorderRadiusGeometry? borderRadius,
- Clip? clipBehavior,
- Color? borderColor,
- double? borderWidth,
- List<
BoxShadow> ? boxShadow, - double? surfaceOpacity,
- double? surfaceBlur,
- Duration? duration,
- VoidCallback? onPressed,
- bool dashedBorder = false,
Implementation
const Card({
super.key,
required this.child,
this.padding,
this.filled,
this.fillColor,
this.borderRadius,
this.clipBehavior,
this.borderColor,
this.borderWidth,
this.boxShadow,
this.surfaceOpacity,
this.surfaceBlur,
this.duration,
this.onPressed,
this.dashedBorder = false,
});