barcode 1.6.0 barcode: ^1.6.0 copied to clipboard
Barcode generation library for Dart that can generate generic drawing operations for any backend.
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.
- To generate barcodes in images, use pub:barcode_image.
They all use this library to generate the drawing operations.
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.
The following barcode images are SVG. The proper rendering, especially text, depends on the browser implementation and availability of the fonts.