DiditConfig constructor

const DiditConfig({
  1. String? languageCode,
  2. bool showLanguageSelector = false,
  3. String? fontFamily,
  4. bool loggingEnabled = false,
  5. bool showCloseButton = true,
  6. bool showExitConfirmation = true,
  7. bool closeOnComplete = false,
  8. CameraLens? defaultDocumentCamera,
  9. CameraLens? defaultLivenessCamera,
  10. bool showDocumentCameraSwitchButton = true,
  11. bool showLivenessCameraSwitchButton = true,
})

Implementation

const DiditConfig({
  this.languageCode,
  this.showLanguageSelector = false,
  this.fontFamily,
  this.loggingEnabled = false,
  this.showCloseButton = true,
  this.showExitConfirmation = true,
  this.closeOnComplete = false,
  this.defaultDocumentCamera,
  this.defaultLivenessCamera,
  this.showDocumentCameraSwitchButton = true,
  this.showLivenessCameraSwitchButton = true,
});