ListCard constructor

const ListCard({
  1. VoidCallback? onTap,
  2. ImageProvider<Object>? image,
  3. EdgeInsetsGeometry margin = const EdgeInsets.symmetric(vertical: 10),
  4. double elevation = 8,
  5. IconData? icon,
  6. VoidCallback? onIconTap,
  7. double height = 160,
  8. Widget? title,
  9. String? buttonTitle,
  10. VoidCallback? onButtonTap,
})

Implementation

const ListCard({
  this.onTap,
  this.image,
  this.margin = const EdgeInsets.symmetric(vertical: 10),
  this.elevation = 8,
  this.icon,
  this.onIconTap,
  this.height = 160,
  this.title,
  this.buttonTitle,
  this.onButtonTap,
});