itf static method
2 of 5 Barcode
Interleaved 2 of 5 (ITF) is a continuous two-width barcode symbology encoding digits. It is used commercially on 135 film, for ITF-14 barcodes, and on cartons of some products, while the products inside are labeled with UPC or EAN.
addChecksum
add Modulo 10 checksum
zeroPrepend
Prepend with a '0' if the length is not odd
drawBorder
draws a black border around the barcode
borderWidth
specify the width of the border around the barcode
quietWidth
defines the width of the quiet zone before and after
the barcode, inside the border
fixedLength
defines the barcode length if the length is to be fixed.
Set to null for not fixed length.
Implementation
static Barcode itf({
bool addChecksum = false,
bool zeroPrepend = false,
bool drawBorder = false,
double? borderWidth,
double? quietWidth,
int? fixedLength,
}) =>
BarcodeItf(addChecksum, zeroPrepend, drawBorder, borderWidth, quietWidth,
fixedLength);