LivenessCheckMessages constructor

const LivenessCheckMessages({
  1. String title = 'Liveness Check',
  2. String initializingCamera = 'Initializing camera...',
  3. String noFaceDetected = 'No face detected. Please position your face in the circle.',
  4. String multipleFacesDetected = 'Multiple faces detected. Only one person allowed.',
  5. String moveCloserToCamera = 'Move closer to camera or hold device steady.',
  6. String holdStill = 'Hold still. Face features not clear.',
  7. String imageTooBlurry = 'Image too blurry. Hold device steady.',
  8. String poorLighting = 'Poor lighting conditions.',
  9. String livenessCheckPassed = 'Liveness check passed! Taking photo...',
  10. String takingPhoto = 'Taking photo...',
  11. String failedToCapture = 'Failed to capture photo',
  12. String cameraPermissionDenied = 'Camera permission denied',
  13. String failedToInitializeCamera = 'Failed to initialize camera',
  14. String eyesClosed = 'Please open your eyes.',
  15. String maskDetected = 'Please remove your mask.',
  16. String spoofingDetected = 'Spoofing detected. Please use a real face.',
  17. String tryAgainButtonText = 'Try Again',
  18. PermissionDialogConfig permissionDialogConfig = const PermissionDialogConfig(),
})

Creates liveness check messages.

Implementation

const LivenessCheckMessages({
  this.title = 'Liveness Check',
  this.initializingCamera = 'Initializing camera...',
  this.noFaceDetected =
      'No face detected. Please position your face in the circle.',
  this.multipleFacesDetected =
      'Multiple faces detected. Only one person allowed.',
  this.moveCloserToCamera = 'Move closer to camera or hold device steady.',
  this.holdStill = 'Hold still. Face features not clear.',
  this.imageTooBlurry = 'Image too blurry. Hold device steady.',
  this.poorLighting = 'Poor lighting conditions.',
  this.livenessCheckPassed = 'Liveness check passed! Taking photo...',
  this.takingPhoto = 'Taking photo...',
  this.failedToCapture = 'Failed to capture photo',
  this.cameraPermissionDenied = 'Camera permission denied',
  this.failedToInitializeCamera = 'Failed to initialize camera',
  this.eyesClosed = 'Please open your eyes.',
  this.maskDetected = 'Please remove your mask.',
  this.spoofingDetected = 'Spoofing detected. Please use a real face.',
  this.tryAgainButtonText = 'Try Again',
  this.permissionDialogConfig = const PermissionDialogConfig(),
});