ItemCard constructor

const ItemCard({
  1. Key? key,
  2. VoidCallback? onClick,
  3. String? title,
  4. String? description,
  5. String? amount,
  6. String? image,
  7. bool? isFavourite,
  8. VoidCallback? removeFavFunc,
  9. Color? defaultColor,
})

Implementation

const ItemCard({
  Key? key,
  this.onClick,
  this.title,
  this.description,
  this.amount,
  this.image,
  this.isFavourite,
  this.removeFavFunc,
  this.defaultColor,
}) : super(key: key);