UCameraOptions constructor
const
UCameraOptions({
- UCameraMode mode = UCameraMode.photo,
- bool allowMultiple = false,
- int maxCount = 0,
- ResolutionPreset resolution = ResolutionPreset.high,
- bool startFront = false,
- bool enableFlash = true,
- bool enableCameraSwitch = true,
- bool enableGrid = true,
- bool enablePinchZoom = true,
- bool enableZoomSlider = false,
- bool enableTapToFocus = true,
- bool enableExposure = true,
- bool enableSelfTimer = true,
- bool enableAudio = true,
- bool confirmCapture = true,
- bool mirrorFrontPreview = false,
- Duration? videoMaxDuration,
- Color? accentColor,
- 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,
});