BatchBarcodeScannerConfiguration constructor
BatchBarcodeScannerConfiguration({
- List<
BarcodeDocumentFormat> ? acceptedDocumentFormats, - Color? cameraOverlayColor,
- CameraModule? cameraModule,
- double? cameraZoomFactor,
- ZoomRange? cameraZoomRange,
- bool? cancelButtonHidden,
- String? cancelButtonTitle,
- bool? doubleTapToZoomEnabled,
- bool? pinchToZoomEnabled,
- bool? shouldAnimateZooming,
- EngineMode? engineMode,
- Color? finderLineColor,
- double? finderLineWidth,
- String? finderTextHint,
- Color? finderTextHintColor,
- AspectRatio? finderAspectRatio,
- bool? flashButtonHidden,
- String? flashButtonTitle,
- bool? flashEnabled,
- bool? focusLockEnabled,
- double? focusLockPosition,
- OrientationLockMode? orientationLockMode,
- int? minimumTextLength,
- int? maximumTextLength,
- int? minimum1DBarcodesQuietZone,
- bool? minFocusDistanceLock,
- bool? stripCheckDigits,
- bool? successBeepEnabled,
- Color? topBarBackgroundColor,
- Color? topBarButtonsColor,
- Color? topBarButtonsInactiveColor,
- List<
BarcodeFormat> ? barcodeFormats, - bool? useButtonsAllCaps,
- Gs1HandlingMode? gs1HandlingMode,
- MSIPlesseyChecksumAlgorithm? msiPlesseyChecksumAlgorithm,
- bool? lowPowerMode,
- String? barcodesCountText,
- Color? barcodesCountTextColor,
- String? clearButtonTitle,
- Color? detailsActionColor,
- Color? detailsBackgroundColor,
- Color? detailsPrimaryColor,
- String? deleteButtonTitle,
- String? enableCameraButtonTitle,
- String? enableCameraExplanationText,
- String? fetchingStateText,
- String? noBarcodesTitle,
- String? submitButtonTitle,
- CodeDensity? codeDensity,
- bool? replaceCancelButtonWithIcon,
- CameraPreviewMode? cameraPreviewMode,
- int? autoCancelTimeout,
- double? initialScanDelay,
- bool? viewFinderEnabled,
- SelectionOverlayConfiguration? overlayConfiguration,
- bool? touchToFocusEnabled,
- BarcodesExtensionFilter? barcodesExtensionFilter,
- BarcodeAdditionalParameters? additionalParameters,
- BarcodeDataFormatter? barcodeFormatter,
Implementation
BatchBarcodeScannerConfiguration(
{super.acceptedDocumentFormats,
super.cameraOverlayColor,
super.cameraModule,
super.cameraZoomFactor,
super.cameraZoomRange,
super.cancelButtonHidden,
super.cancelButtonTitle,
super.doubleTapToZoomEnabled,
super.pinchToZoomEnabled,
super.shouldAnimateZooming,
super.engineMode,
super.finderLineColor,
super.finderLineWidth,
super.finderTextHint,
super.finderTextHintColor,
super.finderAspectRatio,
super.flashButtonHidden,
super.flashButtonTitle,
super.flashEnabled,
super.focusLockEnabled,
super.focusLockPosition,
super.orientationLockMode,
super.minimumTextLength,
super.maximumTextLength,
super.minimum1DBarcodesQuietZone,
super.minFocusDistanceLock,
super.stripCheckDigits,
super.successBeepEnabled,
super.topBarBackgroundColor,
super.topBarButtonsColor,
super.topBarButtonsInactiveColor,
super.barcodeFormats,
super.useButtonsAllCaps,
super.gs1HandlingMode,
super.msiPlesseyChecksumAlgorithm,
super.lowPowerMode,
super.barcodesCountText,
super.barcodesCountTextColor,
super.clearButtonTitle,
super.detailsActionColor,
super.detailsBackgroundColor,
super.detailsPrimaryColor,
super.deleteButtonTitle,
super.enableCameraButtonTitle,
super.enableCameraExplanationText,
super.fetchingStateText,
super.noBarcodesTitle,
super.submitButtonTitle,
super.codeDensity,
super.replaceCancelButtonWithIcon,
super.cameraPreviewMode,
super.autoCancelTimeout,
super.initialScanDelay,
super.viewFinderEnabled,
super.overlayConfiguration,
super.touchToFocusEnabled,
super.barcodesExtensionFilter,
this.additionalParameters,
this.barcodeFormatter}) {
if (additionalParameters != null) {
minimumTextLength =
minimumTextLength ?? additionalParameters?.minimumTextLength;
maximumTextLength =
maximumTextLength ?? additionalParameters?.maximumTextLength;
minimum1DBarcodesQuietZone = minimum1DBarcodesQuietZone ??
additionalParameters?.minimum1DBarcodesQuietZone;
gs1HandlingMode =
gs1HandlingMode ?? additionalParameters?.gs1HandlingMode;
msiPlesseyChecksumAlgorithm = msiPlesseyChecksumAlgorithm ??
additionalParameters?.msiPlesseyChecksumAlgorithm;
stripCheckDigits =
stripCheckDigits ?? additionalParameters?.stripCheckDigits;
codeDensity = codeDensity ?? additionalParameters?.codeDensity;
}
}