SelectionOverlayScannerConfiguration constructor

SelectionOverlayScannerConfiguration({
  1. bool overlayEnabled = true,
  2. bool automaticSelectionEnabled = false,
  3. BarcodeOverlayTextFormat textFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE,
  4. Color? polygonColor = Colors.white,
  5. Color? textColor = Colors.black,
  6. Color? textContainerColor = Colors.white,
  7. dynamic onBarcodeClicked(
    1. BarcodeItem item
    )?,
})

Implementation

SelectionOverlayScannerConfiguration({
  this.overlayEnabled = true,
  this.automaticSelectionEnabled = false,
  this.textFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE,
  this.polygonColor = Colors.white,
  this.textColor = Colors.black,
  this.textContainerColor = Colors.white,
  this.onBarcodeClicked,
});