GalleryPhotoViewWrapper constructor

GalleryPhotoViewWrapper({
  1. LoadingBuilder? loadingBuilder,
  2. BoxDecoration? backgroundDecoration,
  3. dynamic minScale,
  4. dynamic maxScale,
  5. int initialIndex = 0,
  6. required List<ImageItem<Object>> galleryItems,
  7. Axis scrollDirection = Axis.horizontal,
})

Implementation

GalleryPhotoViewWrapper({
  this.loadingBuilder,
  this.backgroundDecoration,
  this.minScale,
  this.maxScale,
  this.initialIndex = 0,
  required this.galleryItems,
  this.scrollDirection = Axis.horizontal,
}) : pageController = PageController(initialPage: initialIndex);