DsCard constructor
const
DsCard({
- Key? key,
- required Widget child,
- SurfaceLevel level = SurfaceLevel.low,
- EdgeInsetsGeometry padding = AppSpacing.cardPadding,
- BorderRadius? borderRadius,
- List<
BoxShadow> ? shadow, - BoxBorder? border,
- VoidCallback? onTap,
- 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,
});