FaceCaptureState constructor

const FaceCaptureState({
  1. FaceCapturePhase phase = FaceCapturePhase.initializing,
  2. CameraController? cameraController,
  3. int currentStepIndex = 0,
  4. List<CapturedFaceImage> captured = const [],
  5. bool faceDetected = false,
  6. double holdProgress = 0.0,
  7. String? errorMessage,
})

Implementation

const FaceCaptureState({
  this.phase = FaceCapturePhase.initializing,
  this.cameraController,
  this.currentStepIndex = 0,
  this.captured = const [],
  this.faceDetected = false,
  this.holdProgress = 0.0,

  this.errorMessage,
});