MultiImagePicker constructor

const MultiImagePicker({
  1. required int totalImages,
  2. required ValueChanged onImageChanged,
  3. List<String>? initialValue,
  4. ImagePickSource imageSource = ImagePickSource.gallery,
  5. ImageType imageType = ImageType.grid,
  6. Widget? addImageWidget,
  7. int gridCrossAxisCount = 2,
  8. double gridChildAspectRatio = 0.7,
  9. ValueChanged? onImageRemoved,
  10. double imgWidth = 100,
  11. double imgHeight = 100,
})

Implementation

const MultiImagePicker({
  required this.totalImages,
  required this.onImageChanged,
  this.initialValue,
  this.imageSource = ImagePickSource.gallery,
  this.imageType = ImageType.grid,
  this.addImageWidget,
  this.gridCrossAxisCount = 2,
  this.gridChildAspectRatio = 0.7,
  this.onImageRemoved,
  this.imgWidth = 100,
  this.imgHeight = 100,
});