WidgetImagesViewer constructor

const WidgetImagesViewer({
  1. Key? key,
  2. bool isImageProvider = false,
  3. bool enableDownloadButton = false,
  4. required List images,
  5. int index = 0,
  6. VoidCallback? onClose,
  7. ValueChanged? onDownload,
  8. Color? backgroundColor,
  9. Color? textColor,
})

Implementation

const WidgetImagesViewer({
  Key? key,
  this.isImageProvider = false,
  this.enableDownloadButton = false,
  required this.images,
  this.index = 0,
  this.onClose,
  this.onDownload,
  this.backgroundColor,
  this.textColor,
}) : super(key: key);