NiceGallery constructor

const NiceGallery({
  1. Key? key,
  2. required List<NiceGalleryItem> items,
  3. int initialIndex = 0,
  4. bool showThumbnails = true,
  5. bool showCounter = true,
  6. bool enableZoom = true,
  7. Color? backgroundColor,
  8. void onPageChanged(
    1. int
    )?,
  9. 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,
});