AtomicCard constructor
const
AtomicCard({
- Key? key,
- required Widget child,
- EdgeInsets? padding,
- EdgeInsets? margin,
- Color? color,
- Gradient? gradient,
- BorderRadius? borderRadius,
- Border? border,
- AtomicCardShadow shadow = AtomicCardShadow.medium,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- bool isClickable = false,
- 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,
});