GalleryPhotoViewWrapper constructor
GalleryPhotoViewWrapper({
- Key? key,
- LoadingBuilder? loadingBuilder,
- BoxDecoration? backgroundDecoration,
- dynamic minScale,
- dynamic maxScale,
- int? initialIndex,
- required List<
String> ? galleryItems, - Axis scrollDirection = Axis.horizontal,
- 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!);