AppCard constructor
const
AppCard({
- Key? key,
- required Widget child,
- CardType type = CardType.standard,
- Color? backgroundColor,
- Color? borderColor,
- double? borderWidth,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- double? elevation,
- VoidCallback? onTap,
- bool hasShadow = true,
Implementation
const AppCard({
Key? key,
required this.child,
this.type = CardType.standard,
this.backgroundColor,
this.borderColor,
this.borderWidth,
this.borderRadius,
this.padding,
this.margin,
this.elevation,
this.onTap,
this.hasShadow = true,
}) : super(key: key);