FaceDetectionView constructor

const FaceDetectionView({
  1. Key? key,
  2. required ActionStatus actionType,
  3. required String screenTitle,
  4. ValueChanged<String>? onFieldSubmitted,
  5. camCall defalutCam = face_lib.camCall.Front,
  6. bool autoClickCamera = false,
  7. Widget? captureButton,
  8. Widget? switchCameraButton,
  9. bool previewScreen = false,
  10. bool showSwitchCameraIcon = false,
  11. bool showCameraIcon = false,
  12. bool callWithNavigate = false,
  13. bool batterySaverBrightness = false,
})

Implementation

const FaceDetectionView(
    {super.key,
    required this.actionType,
    required this.screenTitle,
    this.onFieldSubmitted,
    this.defalutCam = face_lib.camCall.Front,
    this.autoClickCamera = false,
    this.captureButton,
    this.switchCameraButton,
    this.previewScreen = false,
    this.showSwitchCameraIcon = false,
    this.showCameraIcon = false,
    this.callWithNavigate = false,
    this.batterySaverBrightness = false,
    this.showLogo = true});