makeText method
Implementation
@override
Iterable<BarcodeElement> makeText(
String data,
double width,
double height,
double fontHeight,
double textPadding,
double lineWidth,
) {
if (fixedLength != null) {
} else {
if (zeroPrepend && ((data.length % 2 != 0) != addChecksum)) {
data = "0$data";
}
if (addChecksum) {
data += checkSumModulo10(data);
}
}
return super.makeText(
data,
width,
height,
fontHeight,
textPadding,
lineWidth,
);
}