GridCard constructor

const GridCard({
  1. Key? key,
  2. Color? defaultColor,
  3. String? imageUrl,
  4. String? title,
  5. String? price,
  6. VoidCallback? onTap,
  7. VoidCallback? addRemoveFav,
  8. bool? isFavourite,
})

Implementation

const GridCard({super.key, this.defaultColor, this.imageUrl, this.title, this.price, this.onTap, this.addRemoveFav, this.isFavourite});