MultiImagePicker constructor
const
MultiImagePicker({
- required int totalImages,
- required ValueChanged onImageChanged,
- List<
String> ? initialValue, - ImagePickSource imageSource = ImagePickSource.gallery,
- ImageType imageType = ImageType.grid,
- Widget? addImageWidget,
- int gridCrossAxisCount = 2,
- double gridChildAspectRatio = 0.7,
- ValueChanged? onImageRemoved,
- double imgWidth = 100,
- 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,
});