SelectionOverlayScannerConfiguration constructor

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

Implementation

SelectionOverlayScannerConfiguration({
  this.overlayEnabled = true,
  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,
  this.barcodeItemOverlayViewBinder,
});