barcode_image 2.0.0-nullsafety copy "barcode_image: ^2.0.0-nullsafety" to clipboard
barcode_image: ^2.0.0-nullsafety copied to clipboard

outdated

Barcode generation library for Dart that can generate barcodes using the image library.

barcode_image #

Barcode generation library for Dart that can generate barcodes using the pub:image library.

Live example with Flutter Web: https://davbfr.github.io/dart_barcode/


Buy Me A Coffee

Dart usage #

// Create an image
final image = Image(300, 120);

// Fill it with a solid color (white)
fill(image, getColor(255, 255, 255));

// Draw the barcode
drawBarcode(image, Barcode.code128(), 'Test', font: arial_24);

// Save the image
File('test.png').writeAsBytesSync(encodePng(image));
Barcode

Command line usage #

Install the barcode command

pub global activate barcode_image

run it

barcode

or

pub run barcode_image:barcode
67
likes
0
points
6.33k
downloads

Publisher

verified publishernfet.net

Weekly Downloads

Barcode generation library for Dart that can generate barcodes using the image library.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, barcode, image, meta

More

Packages that depend on barcode_image