UCameraOptions constructor

const UCameraOptions({
  1. UCameraMode mode = UCameraMode.photo,
  2. bool allowMultiple = false,
  3. int maxCount = 0,
  4. ResolutionPreset resolution = ResolutionPreset.high,
  5. bool startFront = false,
  6. bool enableFlash = true,
  7. bool enableCameraSwitch = true,
  8. bool enableGrid = true,
  9. bool enablePinchZoom = true,
  10. bool enableZoomSlider = false,
  11. bool enableTapToFocus = true,
  12. bool enableExposure = true,
  13. bool enableSelfTimer = true,
  14. bool enableAudio = true,
  15. bool confirmCapture = true,
  16. bool mirrorFrontPreview = false,
  17. Duration? videoMaxDuration,
  18. Color? accentColor,
  19. UCameraLabels? labels,
})

Implementation

const UCameraOptions({
  this.mode = UCameraMode.photo,
  this.allowMultiple = false,
  this.maxCount = 0,
  this.resolution = ResolutionPreset.high,
  this.startFront = false,
  this.enableFlash = true,
  this.enableCameraSwitch = true,
  this.enableGrid = true,
  this.enablePinchZoom = true,
  this.enableZoomSlider = false,
  this.enableTapToFocus = true,
  this.enableExposure = true,
  this.enableSelfTimer = true,
  this.enableAudio = true,
  this.confirmCapture = true,
  this.mirrorFrontPreview = false,
  this.videoMaxDuration,
  this.accentColor,
  this.labels,
});