NiceLightbox constructor

const NiceLightbox({
  1. Key? key,
  2. required List<String> images,
  3. int initialIndex = 0,
  4. VoidCallback? onClose,
  5. bool showCounter = true,
  6. bool enableZoom = true,
})

Implementation

const NiceLightbox({
  super.key,
  required this.images,
  this.initialIndex = 0,
  this.onClose,
  this.showCounter = true,
  this.enableZoom = true,
});