ean8 static method

Barcode ean8(
  1. {bool drawSpacers = false}
)

EAN 8 Barcode

An EAN-8 is an EAN/UPC symbology barcode and is derived from the longer International Article Number code. It was introduced for use on small packages where an EAN-13 barcode would be too large; for example on cigarettes, pencils, and chewing gum packets. It is encoded identically to the 12 digits of the UPC-A barcode, except that it has 4 digits in each of the left and right halves.

EAN 8

drawSpacers draws the start '<' and end '>' chars in the left and right margins

Implementation

static Barcode ean8({bool drawSpacers = false}) => BarcodeEan8(drawSpacers);