AppCard constructor

const AppCard({
  1. Key? key,
  2. required Widget child,
  3. CardType type = CardType.standard,
  4. Color? backgroundColor,
  5. Color? borderColor,
  6. double? borderWidth,
  7. BorderRadius? borderRadius,
  8. EdgeInsetsGeometry? padding,
  9. EdgeInsetsGeometry? margin,
  10. double? elevation,
  11. VoidCallback? onTap,
  12. 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);