SfBarcodeGenerator constructor
SfBarcodeGenerator({})
Generate the barcode using supported symbology types based on input values.
The value property is required to generate the barcode and value must not be null or empty.
Default symbology is Code128.
Implementation
SfBarcodeGenerator(
{Key? key,
required this.value,
Symbology? symbology,
this.barColor,
this.backgroundColor,
this.showValue = false,
this.textSpacing = 2,
this.textAlign = TextAlign.center,
this.textStyle})
: symbology = symbology ?? Code128(),
super(key: key);