Card constructor
Card({
- required Widget child,
- EdgeInsets? padding,
- EdgeInsets? margin,
- Color? background,
- Color? foreground,
- Border? border,
- Color? borderColor,
- Style? textStyle,
- Key? key,
Implementation
Card({
required this.child,
this.padding,
this.margin,
this.background,
this.foreground,
this.border,
this.borderColor,
this.textStyle,
super.key,
});