DocumentCaptureWidget constructor

const DocumentCaptureWidget({
  1. Key? key,
  2. OnImageCaptured? onImageCaptured,
  3. OnError? onError,
  4. bool showCamera = true,
  5. bool showGallery = true,
  6. String? cameraButtonText,
  7. String? galleryButtonText,
  8. ButtonStyle? buttonStyle,
  9. String? title,
  10. String? instructions,
  11. bool showCompanyBranding = false,
  12. bool showTips = true,
  13. KycTheme? theme,
})

Implementation

const DocumentCaptureWidget({
  super.key,
  this.onImageCaptured,
  this.onError,
  this.showCamera = true,
  this.showGallery = true,
  this.cameraButtonText,
  this.galleryButtonText,
  this.buttonStyle,
  this.title,
  this.instructions,
  this.showCompanyBranding = false,
  this.showTips = true,
  this.theme,
});