BarcodeScannerConfiguration constructor
BarcodeScannerConfiguration({
- Color? topBarBackgroundColor,
- Color? topBarButtonsColor,
- Color? cameraOverlayColor,
- Color? finderLineColor,
- Color? finderTextHintColor,
- String? cancelButtonTitle,
- String? enableCameraButtonTitle,
- String? enableCameraExplanationText,
- String? finderTextHint,
- int? autoCancelTimeout,
- FinderAspectRatio? finderAspectRatio,
- int? finderLineWidth,
- bool? successBeepEnabled,
- bool? flashEnabled,
- OrientationLockMode? orientationLockMode,
- List<
BarcodeFormat> ? barcodeFormats, - List<
BarcodeDocumentFormat> ? acceptedDocumentFormats, - bool? cancelButtonHidden,
- BarcodeImageGenerationType barcodeImageGenerationType = BarcodeImageGenerationType.NONE,
- BarcodeAdditionalParameters? additionalParameters,
- EngineMode engineMode = EngineMode.NEXT_GEN,
- double? cameraZoomFactor,
- bool? minFocusDistanceLock,
- Color? topBarButtonsInactiveColor,
- SelectionOverlayConfiguration? overlayConfiguration,
- bool? useButtonsAllCaps,
- 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,
});