barcode 0.1.0 copy "barcode: ^0.1.0" to clipboard
barcode: ^0.1.0 copied to clipboard

outdated

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

example/main.dart

// ignore_for_file: always_specify_types

import 'package:barcode/barcode.dart';

class MyBarcodeDraw extends BarcodeDraw {
  @override
  void fillRect(
      double left, double top, double width, double height, bool black) {
    print('BAR $left, $top, $width, $height, $black');
  }
}

void main() {
  final bc = Barcode.code39(draw: MyBarcodeDraw());
  bc.make('HELLO 123', 200, 50);
}
474
likes
40
pub points
97%
popularity

Publisher

verified publishernfet.net

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

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (LICENSE)

Dependencies

meta

More

Packages that depend on barcode