GalleryImagePicker constructor
const
GalleryImagePicker({
- Key? key,
- ValueChanged<
List< ? onChanged,XFile> > - int imageQuality = 85,
- bool crop = false,
- bool compress = true,
- int crossAxisCount = 3,
- double crossAxisSpacing = 8.0,
- double mainAxisSpacing = 8.0,
- String headerText = "Upload Gallery Images",
- String placeholderText = "Add Images",
- Widget? loadingWidget,
- Widget? errorWidget,
Implementation
const GalleryImagePicker({
super.key,
this.onChanged,
this.imageQuality = 85,
this.crop = false,
this.compress = true,
this.crossAxisCount = 3,
this.crossAxisSpacing = 8.0,
this.mainAxisSpacing = 8.0,
this.headerText = "Upload Gallery Images",
this.placeholderText = "Add Images",
this.loadingWidget,
this.errorWidget,
});