ItemCardCart constructor

const ItemCardCart({
  1. Key? key,
  2. VoidCallback? onClick,
  3. String? title,
  4. String? image,
  5. String? quantity,
  6. VoidCallback? addFunc,
  7. String? price,
  8. required VoidCallback deleteItemFunc,
  9. VoidCallback? removeFunc,
  10. String? description,
  11. Color? defaultColor,
  12. String? currency,
})

Implementation

const ItemCardCart({
  Key? key,
  this.onClick,
  this.title,
  this.image,
  this.quantity,
  this.addFunc,
  this.price,
  required this.deleteItemFunc,
  this.removeFunc,
  this.description,
  this.defaultColor,
  this.currency,
}) : super(key: key);