GalleryViewField constructor

const GalleryViewField({
  1. Key? key,
  2. void onChanged(
    1. DrishyaEntity entity,
    2. bool removed
    )?,
  3. void onSubmitted(
    1. List<DrishyaEntity> entities
    )?,
  4. List<DrishyaEntity>? selectedEntities,
  5. PanelSetting? panelSetting,
  6. GallerySetting? gallerySetting,
  7. Widget? child,
  8. Widget previewBuilder(
    1. Uint8List bytes
    )?,
  9. Size? previewSize,
})

Widget which pick media from gallery

If used GalleryViewField with GalleryViewWrapper, PanelSetting and GallerySetting will be override by the GalleryViewWrapper

Implementation

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