QrcodeReaderView constructor
QrcodeReaderView({
- Key? key,
- required Future onScan(),
- Widget? headerWidget,
- Color boxLineColor = Colors.cyanAccent,
- Widget? helpWidget,
- double scanBoxRatio = 0.85,
- bool hasHintText = false,
- String? centeredText,
- TextStyle? centeredTextStyle,
- TextAlign? centeredTextAlignment,
- bool hasLightSwitch = true,
- 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);