PrismCard constructor
const
PrismCard({
- Key? key,
- required Widget child,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Color? color,
- double? radius,
- double elevation = 1,
- 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,
});