ProductCard constructor

const ProductCard({
  1. Key? key,
  2. required Product product,
})

Implementation

const ProductCard({
  Key? key,
  required this.product,
}) : super(key: key);