BarcodeRecognizerConfiguration constructor

BarcodeRecognizerConfiguration({
  1. List<BarcodeDocumentFormat>? acceptedDocumentFormats,
  2. BarcodesExtensionFilter barcodesExtensionFilter = BarcodesExtensionFilter.NO_FILTER,
  3. String barcodesRegexFilter = "",
  4. int minimumTextLength = 0,
  5. int maximumTextLength = 0,
  6. int minimum1DBarcodesQuietZone = 10,
  7. bool stripCheckDigits = false,
  8. List<BarcodeFormat>? barcodeFormats,
  9. MSIPlesseyChecksumAlgorithm msiPlesseyChecksumAlgorithm = MSIPlesseyChecksumAlgorithm.MOD_10,
  10. bool lowPowerMode = false,
  11. CodeDensity codeDensity = CodeDensity.LOW,
  12. Gs1Handling gs1Handling = Gs1Handling.PARSE,
})

Implementation

BarcodeRecognizerConfiguration({
  List<BarcodeDocumentFormat>? acceptedDocumentFormats,
  this.barcodesExtensionFilter = BarcodesExtensionFilter.NO_FILTER,
  this.barcodesRegexFilter = "",
  this.minimumTextLength = 0,
  this.maximumTextLength = 0,
  this.minimum1DBarcodesQuietZone = 10,
  this.stripCheckDigits = false,
  List<BarcodeFormat>? barcodeFormats,
  this.msiPlesseyChecksumAlgorithm = MSIPlesseyChecksumAlgorithm.MOD_10,
  this.lowPowerMode = false,
  this.codeDensity = CodeDensity.LOW,
  this.gs1Handling = Gs1Handling.PARSE,
})  : acceptedDocumentFormats = acceptedDocumentFormats ?? [],
      barcodeFormats = barcodeFormats ?? [];