value property

String? value
final

Defines the value of the barcode to be rendered.

The value property is required to generate a barcode. The input value is accepted as a string and encoded in a machine readable format.

The length and characters type of the value can be varied on the basis of the Symbology.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfBarcodeGenerator(value:'123456'));
}
```dart

Implementation

final String? value;