BarcodeReaderPage constructor

BarcodeReaderPage({
  1. bool showBorder = true,
  2. int borderFlashDuration = 500,
  3. double viewfinderWidth = 240.0,
  4. double viewfinderHeight = 240.0,
  5. double borderRadius = 16.0,
  6. Color scrimColor = Colors.black54,
  7. Color borderColor = Colors.green,
  8. double borderStrokeWidth = 4.0,
  9. Color buttonColor = Colors.white,
  10. String cancelButtonText = "Cancel",
  11. bool successBeep = true,
})

Implementation

BarcodeReaderPage({
  this.showBorder = true,
  this.borderFlashDuration = 500,
  this.viewfinderWidth = 240.0,
  this.viewfinderHeight = 240.0,
  this.borderRadius = 16.0,
  this.scrimColor = Colors.black54,
  this.borderColor = Colors.green,
  this.borderStrokeWidth = 4.0,
  this.buttonColor = Colors.white,
  this.cancelButtonText = "Cancel",
  this.successBeep = true,
});