codeVersion property

QRCodeVersion? codeVersion
final

Define the version that is used to encode the amount of data.

The QRCode uses version from 1 to 40. Version 1 measures 21 modules x 21 modules, version 2 measures 25 modules x 25 modules, and so on.

The number of modules increases in steps of 4 modules per side up to version 40 that measures 177 modules x 177 modules.

Defaults to QRCodeVersion.auto.

Also refer QRCodeVersion.

Widget build(BuildContext context) {
   return Container(
       child: SfBarcodeGenerator(value:'123456',
       symbology: QRCode(codeVersion: 4)));
}
```dart

Implementation

final QRCodeVersion? codeVersion;