BarcodeReaderOverlayPainter constructor

BarcodeReaderOverlayPainter({
  1. bool drawBorder = true,
  2. double viewfinderWidth = 240.0,
  3. double viewfinderHeight = 240.0,
  4. double borderRadius = 16.0,
  5. Color scrimColor = Colors.black54,
  6. Color borderColor = Colors.green,
  7. double borderStrokeWidth = 4.0,
})

Implementation

BarcodeReaderOverlayPainter({
  this.drawBorder = true,
  this.viewfinderWidth = 240.0,
  this.viewfinderHeight = 240.0,
  this.borderRadius = 16.0,
  this.scrimColor = Colors.black54,
  this.borderColor = Colors.green,
  this.borderStrokeWidth = 4.0,
});