DefaultCard constructor

const DefaultCard({
  1. Key? key,
  2. Color? backgroundColor,
  3. required Widget child,
  4. Color? shadowColor,
  5. double? elevation,
  6. bool? lightUpOnHover,
  7. bool? lightUpOnTap,
  8. Function? onTap,
  9. bool? addBorder,
  10. bool? raiseOnHover,
})

Implementation

const DefaultCard({
  Key? key,
  this.backgroundColor,
  required this.child,
  this.shadowColor,
  this.elevation,
  this.lightUpOnHover,
  this.lightUpOnTap,
  this.onTap,
  this.addBorder,
  this.raiseOnHover,
}) : super(key: key);