ScanView constructor
ScanView({
- ScanController? controller,
- CaptureCallback? onCapture,
- Color scanLineColor = Colors.green,
- double scanAreaScale = 1,
Implementation
ScanView({
this.controller,
this.onCapture,
this.scanLineColor = Colors.green,
this.scanAreaScale = 1,
}) : assert(scanAreaScale <= 1.0, 'scanAreaScale must <= 1.0'),
assert(scanAreaScale > 0.0, 'scanAreaScale must > 0.0');