PrismCard constructor

const PrismCard({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onTap,
  4. VoidCallback? onLongPress,
  5. EdgeInsetsGeometry? margin,
  6. EdgeInsetsGeometry? padding,
  7. Color? color,
  8. double? radius,
  9. double elevation = 1,
  10. Border? border,
})

Creates a card.

Implementation

const PrismCard({
  super.key,
  required this.child,
  this.onTap,
  this.onLongPress,
  this.margin,
  this.padding,
  this.color,
  this.radius,
  this.elevation = 1,
  this.border,
});