NiceGallery constructor
const
NiceGallery({
- Key? key,
- required List<
NiceGalleryItem> items, - int initialIndex = 0,
- bool showThumbnails = true,
- bool showCounter = true,
- bool enableZoom = true,
- Color? backgroundColor,
- void onPageChanged()?,
- VoidCallback? onClose,
Implementation
const NiceGallery({
super.key,
required this.items,
this.initialIndex = 0,
this.showThumbnails = true,
this.showCounter = true,
this.enableZoom = true,
this.backgroundColor,
this.onPageChanged,
this.onClose,
});