CamCodeScanner constructor
CamCodeScanner({})
Camera barcode scanner widget Params:
- showDebugFrames
true|false
- shows the current analysing picture - onBarcodeResult - call back to trigger on barcode result
- width, height - dimensions
- refreshDelayMillis - delay between to picture analysis
Implementation
CamCodeScanner({
this.showDebugFrames = false,
required this.onBarcodeResult,
required this.width,
required this.height,
this.refreshDelayMillis = 1000,
this.controller,
this.backgroundColor = Colors.black54,
this.showScannerLine = true,
this.minimalResultCount = 2,
});