GalleryViewField constructor

const GalleryViewField({
  1. Key? key,
  2. void onChanged(
    1. MediaEntity entity,
    2. bool removed
    )?,
  3. void onSubmitted(
    1. List<MediaEntity> entities
    )?,
  4. List<MediaEntity>? selectedEntities,
  5. required GalleryController controller,
  6. Widget? child,
  7. Widget previewBuilder(
    1. Uint8List bytes
    )?,
  8. Size? previewSize,
})

Implementation

const GalleryViewField({
  Key? key,
  this.onChanged,
  this.onSubmitted,
  this.selectedEntities,
  required this.controller,
  this.child,
  this.previewBuilder,
  this.previewSize,
}) : super(key: key);