BarcodeScannerJsonConfiguration constructor

BarcodeScannerJsonConfiguration({
  1. String? version,
  2. String? screen,
  3. List<BarcodeDocumentFormat>? acceptedDocumentFormats,
  4. Color? cameraOverlayColor,
  5. CameraModule? cameraModule,
  6. double? cameraZoomFactor,
  7. bool? cancelButtonHidden,
  8. String? cancelButtonTitle,
  9. EngineMode? engineMode,
  10. String? enableCameraButtonTitle,
  11. String? enableCameraExplanationText,
  12. Color? finderLineColor,
  13. double? finderLineWidth,
  14. String? finderTextHint,
  15. Color? finderTextHintColor,
  16. FinderAspectRatio? finderAspectRatio,
  17. bool? flashButtonHidden,
  18. String? flashButtonTitle,
  19. Color? flashButtonInactiveColor,
  20. bool? flashEnabled,
  21. bool? focusLockEnabled,
  22. double? focusLockPosition,
  23. OrientationLockMode? orientationLockMode,
  24. int? minimumTextLength,
  25. int? maximumTextLength,
  26. bool? minFocusDistanceLock,
  27. int? minimum1DBarcodesQuietZone,
  28. bool? stripCheckDigits,
  29. bool? successBeepEnabled,
  30. Color? topBarBackgroundColor,
  31. Color? topBarButtonsColor,
  32. List<BarcodeFormat>? barcodeFormats,
  33. bool? useButtonsAllCaps,
  34. bool? replaceCancelButtonWithIcon,
  35. CameraPreviewMode? cameraPreviewMode,
  36. ZoomRange? cameraZoomRange,
  37. int? autoCancelTimeout,
  38. bool? gs1DecodingEnabled,
  39. MSIPlesseyChecksumAlgorithm? msiPlesseyChecksumAlgorithm,
  40. bool? lowPowerMode,
  41. CodeDensity? codeDensity,
  42. BarcodeImageGenerationType? barcodeImageGenerationType,
  43. double? initialScanDelay,
  44. double? delayAfterScan,
  45. bool? doubleTapToZoomEnabled,
  46. bool? pinchToZoomEnabled,
  47. bool? shouldAnimateZooming,
  48. SelectionOverlayConfiguration? overlayConfiguration,
})

Implementation

BarcodeScannerJsonConfiguration({
  this.version,
  this.screen,
  this.acceptedDocumentFormats,
  this.cameraOverlayColor,
  this.cameraModule,
  this.cameraZoomFactor,
  this.cancelButtonHidden,
  this.cancelButtonTitle,
  this.engineMode,
  this.enableCameraButtonTitle,
  this.enableCameraExplanationText,
  this.finderLineColor,
  this.finderLineWidth,
  this.finderTextHint,
  this.finderTextHintColor,
  this.finderAspectRatio,
  this.flashButtonHidden,
  this.flashButtonTitle,
  this.flashButtonInactiveColor,
  this.flashEnabled,
  this.focusLockEnabled,
  this.focusLockPosition,
  this.orientationLockMode,
  this.minimumTextLength,
  this.maximumTextLength,
  this.minFocusDistanceLock,
  this.minimum1DBarcodesQuietZone,
  this.stripCheckDigits,
  this.successBeepEnabled,
  this.topBarBackgroundColor,
  this.topBarButtonsColor,
  this.barcodeFormats,
  this.useButtonsAllCaps,
  this.replaceCancelButtonWithIcon,
  this.cameraPreviewMode,
  this.cameraZoomRange,
  this.autoCancelTimeout,
  this.gs1DecodingEnabled,
  this.msiPlesseyChecksumAlgorithm,
  this.lowPowerMode,
  this.codeDensity,
  this.barcodeImageGenerationType,
  this.initialScanDelay,
  this.delayAfterScan,
  this.doubleTapToZoomEnabled,
  this.pinchToZoomEnabled,
  this.shouldAnimateZooming,
  this.overlayConfiguration,
});