FavoriteButton constructor

const FavoriteButton({
  1. Key? key,
  2. required InventoryItem? inventoryItem,
  3. bool? isFavorite,
})

Implementation

const FavoriteButton({
  super.key,
  required this.inventoryItem,
  this.isFavorite,
});