GalleryPhotoViewWrapper constructor

GalleryPhotoViewWrapper({
  1. Key? key,
  2. LoadingBuilder? loadingBuilder,
  3. BoxDecoration? backgroundDecoration,
  4. dynamic minScale,
  5. dynamic maxScale,
  6. int? initialIndex,
  7. required List<String>? galleryItems,
  8. List<String>? captions,
  9. Axis scrollDirection = Axis.horizontal,
  10. Map<String, String>? headers,
})

Implementation

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