ImagePreview constructor

const ImagePreview({
  1. Key? key,
  2. required ValueNotifier<List<XFile>> images,
  3. required int initialIndex,
  4. required bool isEdit,
  5. OctoProgressIndicatorBuilder? loadingBuilder,
  6. void onImageDeleted(
    1. XFile image,
    2. int index
    )?,
})

Implementation

const ImagePreview({
  super.key,
  required this.images,
  required this.initialIndex,
  required this.isEdit,
  this.loadingBuilder,
  this.onImageDeleted,
});