PlexCard constructor
const
PlexCard({
- Key? key,
- required Widget child,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPressed,
- EdgeInsets? margin,
- bool borderOnForeground = true,
- ShapeBorder? shape,
- double cornerRadius = PlexDim.small,
- double borderWidth = 0,
- Color borderColor = Colors.grey,
- Color? color,
- Color? surfaceTintColor,
- Color? shadowColor,
- double elevation = PlexDim.medium,
- bool disableDefaultPadding = false,
- EdgeInsets? padding,
Implementation
const PlexCard({
super.key,
required this.child,
this.onTap,
this.onLongPressed,
this.margin,
this.borderOnForeground = true,
this.shape,
this.cornerRadius = PlexDim.small,
this.borderWidth = 0,
this.borderColor = Colors.grey,
this.color,
this.surfaceTintColor,
this.shadowColor,
this.elevation = PlexDim.medium,
this.disableDefaultPadding = false,
this.padding,
});