GSField.multiImagePicker constructor
GSField.multiImagePicker({
- Key? key,
- required String tag,
- required Widget iconWidget,
- List<
String> ? defaultImagePathValues, - String? title,
- String? errorMessage,
- String? helpMessage,
- bool? required,
- bool? showTitle,
- GSFieldStatusEnum? status,
- int? weight,
- String? hint,
- String? cameraPopupTitle,
- String? galleryPopupTitle,
- String? cameraPopupIcon,
- String? galleryPopupIcon,
- GSImageSource? imageSource,
- Color? iconColor,
- bool? showCropper,
- double? maximumSizePerImageInKB,
- double? maximumImageCount,
- VoidCallback? onErrorSizeItem,
Implementation
GSField.multiImagePicker({
Key? key,
required String tag,
required Widget iconWidget,
List<String>? defaultImagePathValues,
String? title,
String? errorMessage,
String? helpMessage,
bool? required,
bool? showTitle,
GSFieldStatusEnum? status,
int? weight,
String? hint,
String? cameraPopupTitle,
String? galleryPopupTitle,
String? cameraPopupIcon,
String? galleryPopupIcon,
GSImageSource? imageSource,
Color? iconColor,
bool? showCropper,
double? maximumSizePerImageInKB,
double? maximumImageCount,
VoidCallback? onErrorSizeItem,
}) : super(key: key) {
model = GSMultiImagePickerModel(
type: GSFieldTypeEnum.multiImagePicker,
tag: tag,
showCropper: showCropper ?? true,
imageSource: imageSource ?? GSImageSource.both,
showTitle: showTitle ?? false,
title: title,
cameraPopupTitle: cameraPopupTitle,
galleryPopupTitle: galleryPopupTitle,
cameraPopupIcon: cameraPopupIcon,
galleryPopupIcon: galleryPopupIcon,
errorMessage: errorMessage,
helpMessage: helpMessage,
required: required,
status: status,
weight: weight,
hint: hint,
iconWidget: iconWidget,
defaultImagePath: defaultImagePathValues,
maximumImageCount: maximumImageCount,
maximumSizePerImageInKB: maximumSizePerImageInKB,
onErrorSizeItem: onErrorSizeItem,
);
}