FaceScannerView constructor

const FaceScannerView({
  1. Key? key,
  2. required Future<void> onFaceScanned(
    1. LivenessFace
    ),
  3. FaceScannerOptions options = const FaceScannerOptions(),
  4. Widget? cameraPlaceholder,
  5. Widget overlayBuilder(
    1. BuildContext,
    2. FrameStatus,
    3. int
    )?,
  6. bool fullScreen = true,
})

Implementation

const FaceScannerView({
  Key? key,
  required this.onFaceScanned,
  this.options = const FaceScannerOptions(),
  this.cameraPlaceholder,
  this.overlayBuilder,
  this.fullScreen = true,
}) : super(key: key);