LivenessDetectionStepOverlayWidget constructor

const LivenessDetectionStepOverlayWidget({
  1. Key? key,
  2. required List<LivenessDetectionStepItem> steps,
  3. required VoidCallback onCompleted,
  4. required Widget camera,
  5. required CameraController? cameraController,
  6. required bool isFaceDetected,
  7. bool showCurrentStep = false,
  8. bool isDarkMode = true,
  9. bool showDurationUiText = false,
  10. int? duration,
})

Implementation

const LivenessDetectionStepOverlayWidget({
  super.key,
  required this.steps,
  required this.onCompleted,
  required this.camera,
  required this.cameraController,
  required this.isFaceDetected,
  this.showCurrentStep = false,
  this.isDarkMode = true,
  this.showDurationUiText = false,
  this.duration,
});