errorCorrectionLevel property
Define the encode recovery capacity of the barcode.
Below error correction capability at each of the four levels:
-
ErrorCorrectionLevel.low - approximately 7% of the codewords can be restored.
-
ErrorCorrectionLevel.medium - approximately 15% of the codewords can be restored.
-
ErrorCorrectionLevel.quartile - approximately 25% of the codewords can be restored.
-
ErrorCorrectionLevel.high - approximately 30% of the codewords can be restored.
Defaults to ErrorCorrectionLevel.high.
Also refer ErrorCorrectionLevel.
Widget build(BuildContext context) {
return Container(
child: SfBarcodeGenerator(value:'123456',
symbology: QRCode(
errorCorrectionLevel: ErrorCorrectionLevel.high)));
}
```dart
Implementation
final ErrorCorrectionLevel errorCorrectionLevel;