LivenessDetectionStepOverlayWidget constructor

const LivenessDetectionStepOverlayWidget({
  1. Key? key,
  2. required List<LivenessDetectionStepItem> steps,
  3. required TextStyle? textStyle,
  4. required VoidCallback onCompleted,
  5. required Widget camera,
  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.textStyle,
    required this.onCompleted,
    required this.camera,
    required this.isFaceDetected,
    this.showCurrentStep = false,
    this.isDarkMode = true,
    this.showDurationUiText = false,
    this.duration});