AtomicCard constructor

const AtomicCard({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsets? padding,
  4. EdgeInsets? margin,
  5. Color? color,
  6. Gradient? gradient,
  7. BorderRadius? borderRadius,
  8. Border? border,
  9. AtomicCardShadow shadow = AtomicCardShadow.medium,
  10. VoidCallback? onTap,
  11. VoidCallback? onLongPress,
  12. bool isClickable = false,
  13. bool animateOnTap = true,
})

Implementation

const AtomicCard({
  super.key,
  required this.child,
  this.padding,
  this.margin,
  this.color,
  this.gradient,
  this.borderRadius,
  this.border,
  this.shadow = AtomicCardShadow.medium,
  this.onTap,
  this.onLongPress,
  this.isClickable = false,
  this.animateOnTap = true,
});