SelectionOverlayConfiguration constructor

SelectionOverlayConfiguration({
  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. Color? highlightedPolygonColor = Colors.black,
  8. Color? highlightedTextColor = Colors.white,
  9. Color? highlightedTextContainerColor = Colors.black,
})

Implementation

SelectionOverlayConfiguration({
  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.highlightedPolygonColor = Colors.black,
  this.highlightedTextColor = Colors.white,
  this.highlightedTextContainerColor = Colors.black,
});