barcode_image library

Classes

Barcode
Barcode generation class
BarcodeBar
Rectangle drawing operation
BarcodeEan
Base class to generate EAN Barcodes [...]
BarcodeElement
Barcode drawing operation
BarcodeText
Text drawing operation
BitmapFontMetrics
Store the width and height of a rendered text
MeCard
MeCard is a data file similar to vCard but used by NTT DoCoMo in Japan in QR code format for use with Cellular Phones. https://github.com/zxing/zxing/wiki/Barcode-Contents
MeTuple
Tuple key/value for MeCard elements

Extensions

BitmapFontMetricsFunctions
Extension on BitmapFont to add metrics calculation

Functions

drawBarcode(Image image, Barcode barcode, String data, {int x: 0, int y: 0, int width, int height, BitmapFont font, int textPadding, int color: 0xff000000}) → void
Create a Barcode
drawBarcodeBytes(Image image, Barcode barcode, Uint8List bytes, {int x: 0, int y: 0, int width, int height, BitmapFont font, int textPadding, int color: 0xff000000}) → void
Create a Barcode

Enums

BarcodeCodabarStartStop
Start and Stop symbols for BCodabar
BarcodeQRCorrectionLevel
QR Code Correction Level
BarcodeTextAlign
Text alignement inside the BarcodeText zone
BarcodeType
Supported barcode types
Pdf417SecurityLevel
Error correction levels

Exceptions / Errors

BarcodeException
Exception raised if the library cannot generate the Barcode