GSImagePickerModel constructor

GSImagePickerModel(
  1. {dynamic type,
  2. dynamic tag,
  3. dynamic title,
  4. dynamic errorMessage,
  5. dynamic helpMessage,
  6. dynamic required,
  7. dynamic status,
  8. dynamic weight,
  9. dynamic showTitle,
  10. dynamic defaultValue,
  11. required Widget iconWidget,
  12. String? cameraPopupIcon,
  13. String? galleryPopupIcon,
  14. bool? showCropper,
  15. String? cameraPopupTitle,
  16. String? galleryPopupTitle,
  17. GSImageSource? imageSource,
  18. String? hint,
  19. double? maximumSizePerImageInBytes,
  20. VoidCallback? onErrorSizeItem}
)

Implementation

GSImagePickerModel({
  type,
  tag,
  title,
  errorMessage,
  helpMessage,
  required,
  status,
  weight,
  showTitle,
  defaultValue,
  required this.iconWidget,
  this.cameraPopupIcon,
  this.galleryPopupIcon,
  this.showCropper,
  this.cameraPopupTitle,
  this.galleryPopupTitle,
  this.imageSource,
  this.hint,
  this.maximumSizePerImageInBytes,
  this.onErrorSizeItem,
}) : super(
          type: type,
          tag: tag,
          title: title,
          errorMessage: errorMessage,
          helpMessage: helpMessage,
          required: required,
          status: status,
          weight: weight,
          showTitle: showTitle,
          defaultValue: defaultValue);