GalleryImageViewWrapper constructor
GalleryImageViewWrapper({
- Key? key,
- LoadingBuilder? loadingBuilder,
- String? titleGallery,
- BoxDecoration? backgroundDecoration,
- int? initialIndex,
- required List<
GalleryItemModel> galleryItems, - 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);