BarcodeScannerConfiguration constructor

BarcodeScannerConfiguration({
  1. Color? topBarBackgroundColor,
  2. Color? topBarButtonsColor,
  3. Color? cameraOverlayColor,
  4. Color? finderLineColor,
  5. Color? finderTextHintColor,
  6. String? cancelButtonTitle,
  7. String? enableCameraButtonTitle,
  8. String? enableCameraExplanationText,
  9. String? finderTextHint,
  10. int? autoCancelTimeout,
  11. FinderAspectRatio? finderAspectRatio,
  12. int? finderLineWidth,
  13. bool? successBeepEnabled,
  14. bool? flashEnabled,
  15. OrientationLockMode? orientationLockMode,
  16. List<BarcodeFormat>? barcodeFormats,
  17. List<BarcodeDocumentFormat>? acceptedDocumentFormats,
  18. bool? cancelButtonHidden,
  19. BarcodeImageGenerationType barcodeImageGenerationType = BarcodeImageGenerationType.NONE,
  20. BarcodeAdditionalParameters? additionalParameters,
  21. EngineMode engineMode = EngineMode.NEXT_GEN,
  22. double? cameraZoomFactor,
  23. bool? minFocusDistanceLock,
  24. Color? topBarButtonsInactiveColor,
  25. SelectionOverlayConfiguration? overlayConfiguration,
  26. bool? useButtonsAllCaps,
  27. String? flashButtonTitle,
})

Implementation

BarcodeScannerConfiguration({
  this.topBarBackgroundColor,
  this.topBarButtonsColor,
  this.cameraOverlayColor,
  this.finderLineColor,
  this.finderTextHintColor,
  this.cancelButtonTitle,
  this.enableCameraButtonTitle,
  this.enableCameraExplanationText,
  this.finderTextHint,
  this.autoCancelTimeout,
  this.finderAspectRatio,
  this.finderLineWidth,
  this.successBeepEnabled,
  this.flashEnabled,
  this.orientationLockMode,
  this.barcodeFormats,
  this.acceptedDocumentFormats,
  this.cancelButtonHidden,
  this.barcodeImageGenerationType = BarcodeImageGenerationType.NONE,
  this.additionalParameters,
  this.engineMode = EngineMode.NEXT_GEN,
  this.cameraZoomFactor,
  this.minFocusDistanceLock,
  this.topBarButtonsInactiveColor,
  this.overlayConfiguration,
  this.useButtonsAllCaps,
  this.flashButtonTitle,
});