QrcodeReaderView constructor

QrcodeReaderView({
  1. Key? key,
  2. required Future onScan(
    1. String?
    ),
  3. Widget? headerWidget,
  4. Color boxLineColor = Colors.cyanAccent,
  5. Widget? helpWidget,
  6. double scanBoxRatio = 0.85,
  7. bool hasHintText = false,
  8. String? centeredText,
  9. TextStyle? centeredTextStyle,
  10. TextAlign? centeredTextAlignment,
  11. bool hasLightSwitch = true,
  12. bool hasImagePicker = true,
})

Implementation

QrcodeReaderView({
  Key? key,
  required this.onScan,
  this.headerWidget,
  this.boxLineColor = Colors.cyanAccent,
  this.helpWidget,
  this.scanBoxRatio = 0.85,
  this.hasHintText = false,
  this.centeredText,
  this.centeredTextStyle,
  this.centeredTextAlignment,
  this.hasLightSwitch = true,
  this.hasImagePicker = true,
}) : super(key: key);