GalleryImage constructor

const GalleryImage({
  1. Key? key,
  2. required List<String> imageUrls,
  3. String? titleGallery,
  4. int numOfShowImages = 3,
})

Implementation

const GalleryImage(
    {Key? key,
    required this.imageUrls,
    this.titleGallery,
    this.numOfShowImages = 3})
    : assert(numOfShowImages <= imageUrls.length),
      super(key: key);