DsCard constructor

const DsCard({
  1. Key? key,
  2. required Widget child,
  3. SurfaceLevel level = SurfaceLevel.low,
  4. EdgeInsetsGeometry padding = AppSpacing.cardPadding,
  5. BorderRadius? borderRadius,
  6. List<BoxShadow>? shadow,
  7. BoxBorder? border,
  8. VoidCallback? onTap,
  9. VoidCallback? onLongPress,
})

Implementation

const DsCard({
  super.key,
  required this.child,
  this.level = SurfaceLevel.low,
  this.padding = AppSpacing.cardPadding,
  this.borderRadius,
  this.shadow,
  this.border,
  this.onTap,
  this.onLongPress,
});