ProductImageOtherPage constructor

const ProductImageOtherPage({
  1. required Product product,
  2. required OpenFoodFactsLanguage language,
  3. required List<ProductImage> images,
  4. required ProductImage currentImage,
  5. String? heroTag,
})

Implementation

const ProductImageOtherPage({
  required this.product,
  required this.language,
  required this.images,
  required this.currentImage,
  this.heroTag,
}) : assert(images.length > 0);