QrcodeReaderView constructor

QrcodeReaderView({
  1. Key? key,
  2. required Future onScan(
    1. String?,
    2. String?
    ),
  3. Widget? headerWidget,
  4. Color boxLineColor = Colors.cyanAccent,
  5. Widget? helpWidget,
  6. double scanBoxRatio = 0.85,
  7. Widget? flashOn,
  8. Widget? flashOff,
  9. VoidCallback? onBack,
  10. Widget? pickImage,
})

Implementation

QrcodeReaderView({
  Key? key,
  required this.onScan,
  this.headerWidget,
  this.boxLineColor = Colors.cyanAccent,
  this.helpWidget,
  this.scanBoxRatio = 0.85,
  this.flashOn,
  this.flashOff,
  this.onBack,
  this.pickImage,
}) : super(key: key);