FoodCard constructor

const FoodCard(
  1. {Key? key,
  2. required Food food}
)

Implementation

const FoodCard({super.key, required this.food});