BarcodeReaderPage constructor
BarcodeReaderPage({
- bool showBorder = true,
- int borderFlashDuration = 500,
- double viewfinderWidth = 240.0,
- double viewfinderHeight = 240.0,
- double borderRadius = 16.0,
- Color scrimColor = Colors.black54,
- Color borderColor = Colors.green,
- double borderStrokeWidth = 4.0,
- Color buttonColor = Colors.white,
- String cancelButtonText = "Cancel",
- 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,
});