barcode_image

Creator: coderz1093

Last updated:

Add to Cart

Description:

barcode image

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/


Dart usage #
// Create an image
final image = Image(width: 300, height: 120);

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

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

// Save the image
File('test.png').writeAsBytesSync(encodePng(image));
copied to clipboard

Command line usage #
Install the barcode command
pub global activate barcode_image
copied to clipboard
run it
barcode
copied to clipboard
or
pub run barcode_image:barcode
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.