SelectionOverlayScannerConfiguration constructor

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

Implementation

SelectionOverlayScannerConfiguration({
  this.overlayEnabled = true,
  this.textFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE,
  this.polygonColor = Colors.white,
  this.textColor = Colors.black,
  this.textContainerColor = Colors.white,
  this.polygonStrokeWidth = 3,
  this.polygonCornerRadius = 0,
  this.onBarcodeClicked,
});