makeText method
Stream the text operations required to draw the barcode texts. This is automatically called by make
Implementation
@override
Iterable<BarcodeElement> makeText(
String data,
double width,
double height,
double fontHeight,
double textPadding,
double lineWidth,
) {
data = adaptData(data, true).replaceAll(RegExp('[^ -\u{7f}]'), ' ').trim();
return super.makeText(
data,
width,
height,
fontHeight,
textPadding,
lineWidth,
);
}