GalleryImageViewWrapper constructor

GalleryImageViewWrapper({
  1. Key? key,
  2. LoadingBuilder? loadingBuilder,
  3. String? titleGallery,
  4. BoxDecoration? backgroundDecoration,
  5. int? initialIndex,
  6. required List<GalleryItemModel> galleryItems,
  7. Axis scrollDirection = Axis.horizontal,
})

Implementation

GalleryImageViewWrapper({
  Key? key,
  this.loadingBuilder,
  this.titleGallery,
  this.backgroundDecoration,
  this.initialIndex,
  required this.galleryItems,
  this.scrollDirection = Axis.horizontal,
})  : pageController = PageController(initialPage: initialIndex ?? 0),
      super(key: key);