ImagePickerOptions.createAndValidate constructor

ImagePickerOptions.createAndValidate({
  1. double? maxHeight,
  2. double? maxWidth,
  3. int? imageQuality,
  4. bool requestFullMetadata = true,
  5. CameraDevice preferredCameraDevice = CameraDevice.rear,
})

Creates an instance with the given maxHeight, maxWidth, imageQuality, referredCameraDevice and requestFullMetadata.

Implementation

ImagePickerOptions.createAndValidate({
  super.maxHeight,
  super.maxWidth,
  super.imageQuality,
  super.requestFullMetadata,
  this.preferredCameraDevice = CameraDevice.rear,
}) : super.createAndValidate();