ScanFace constructor

const ScanFace({
  1. Key? key,
  2. VoidCallback? onCapture,
  3. required VoidCallback onChangeCamera,
  4. required ValueChanged<FlashMode> onFlash,
  5. required ValueChanged<double> onZoom,
  6. double? zoomLevel,
  7. VoidCallback? onRecord,
  8. ScanFaceType type = ScanFaceType.capture,
  9. VoidCallback? onRecordStop,
  10. VoidCallback? backTap,
  11. bool changeCamera = true,
})

Implementation

const ScanFace({super.key, this.onCapture, required this.onChangeCamera, required this.onFlash, required this.onZoom, this.zoomLevel, this.onRecord, this.type = ScanFaceType.capture, this.onRecordStop, this.backTap, this.changeCamera = true});