FaceDetectionConfig constructor
FaceDetectionConfig({
- String message = '',
- TextStyle messageStyle = const TextStyle(color: Colors.white),
- bool showControls = true,
- bool showCaptureControl = true,
- bool showFlashControl = true,
- bool showCameraLensControl = true,
- bool showStatusMessage = true,
- IndicatorShape indicatorShape = IndicatorShape.defaultShape,
- bool autoDisableCaptureControl = false,
- bool autoCapture = false,
- ImageResolution imageResolution = ImageResolution.high,
- CameraFlashMode defaultFlashMode = CameraFlashMode.off,
- CameraOrientation orientation = CameraOrientation.portraitUp,
- FaceDetectorMode performanceMode = FaceDetectorMode.fast,
- AccuracyConfig? accuracyConfig,
Implementation
FaceDetectionConfig({
this.message = '',
this.messageStyle = const TextStyle(color: Colors.white),
this.showControls = true,
this.showCaptureControl = true,
this.showFlashControl = true,
this.showCameraLensControl = true,
this.showStatusMessage = true,
this.indicatorShape = IndicatorShape.defaultShape,
this.autoDisableCaptureControl = false,
this.autoCapture = false,
this.imageResolution = ImageResolution.high,
this.defaultFlashMode = CameraFlashMode.off,
this.orientation = CameraOrientation.portraitUp,
this.performanceMode = FaceDetectorMode.fast,
this.accuracyConfig,
});