barcode

Barcode generation library for Dart that can generate generic drawing operations for any backend.

  • If you are looking to print barcodes, use pub:pdf.
  • If you want to display barcodes in a Flutter application, use pub:barcode_widget.
  • To generate SVG barcodes see the example tab.

They all use this library to generate the drawing operations.


Buy Me A Coffee

This library is the base to create flutter widgets or pdf barcodes. It depends only on dart with no platform-dependent implementation.

Only two basic drawing primitives are required:

  • Filled rectangle to draw the bars
  • Text drawing to display the code in full-text

See the example for how to use it.

Code 39

CODE 39

Code 93

CODE 93

Code 128 A

CODE 128 A

Code 128 B

CODE 128 B

Code 128 C

CODE 128 C

GS1-128

GS1 128

ITF 14

ITF 14

EAN 13

EAN 13

EAN 8

EAN 8

EAN 2

EAN 2

EAN 5

EAN 5

ISBN

ISBN

UPC-A

UPC A

UPC-E

UPC E

Libraries

barcode