module property

int? module
final

Specifies the size of the smallest line or dot of the barcode.

This property is measured in a logical pixels.

Both the one dimensional and the two dimensional symbology support the module property. This property is used to define the size of the smallest line or dot of the barcode.

For one dimensional barcode, if this property is not set, the size of the smallest bar line is determined depending on the width available.

Example: Result of the total computed inputs(0’s and 1’s) divided by the available width.

For two dimensional barcode , if the module property is not set, the size of smallest dot is calculated based on the minimum of available width or height.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfBarcodeGenerator(value:'123456',
       symbology: UPCE(module: 2)));
}
```dart

Implementation

final int? module;