FaceDetectionConfig constructor

FaceDetectionConfig({
  1. String message = '',
  2. TextStyle messageStyle = const TextStyle(color: Colors.white),
  3. bool showControls = true,
  4. bool showCaptureControl = true,
  5. bool showFlashControl = true,
  6. bool showCameraLensControl = true,
  7. bool showStatusMessage = true,
  8. IndicatorShape indicatorShape = IndicatorShape.defaultShape,
  9. bool autoDisableCaptureControl = false,
  10. bool autoCapture = false,
  11. ImageResolution imageResolution = ImageResolution.high,
  12. CameraFlashMode defaultFlashMode = CameraFlashMode.off,
  13. CameraOrientation orientation = CameraOrientation.portraitUp,
  14. FaceDetectorMode performanceMode = FaceDetectorMode.fast,
  15. 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,
});