SelectionOverlayScannerConfiguration constructor

SelectionOverlayScannerConfiguration({
  1. bool overlayEnabled = true,
  2. bool automaticSelectionEnabled = false,
  3. BarcodeOverlayTextFormat? textFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE,
  4. Color? polygonColor = null,
  5. Color? strokeColor = null,
  6. Color? highlightedPolygonColor = null,
  7. Color? highlightedStrokeColor = null,
  8. Color? textColor = null,
  9. Color? textContainerColor = null,
  10. Color? highlightedTextColor = null,
  11. Color? highlightedTextContainerColor = null,
  12. dynamic onBarcodeClicked(
    1. BarcodeItem item
    )?,
})

Implementation

SelectionOverlayScannerConfiguration({
  this.overlayEnabled = true,
  this.automaticSelectionEnabled = false,
  this.textFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE,
  this.polygonColor = null,
  this.strokeColor = null,
  this.highlightedPolygonColor = null,
  this.highlightedStrokeColor = null,
  this.textColor = null,
  this.textContainerColor = null,
  this.highlightedTextColor = null,
  this.highlightedTextContainerColor = null,
  this.onBarcodeClicked,
});