Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.3 KB

README.template.md

File metadata and controls

34 lines (23 loc) · 1.3 KB

zxing-dart

ZXing ("zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library.
This package is a pure Dart port of the original Java library.

For now, it only supports QR-Code (encoding and decoding). New format can easily be added if this port proves useful.

pub package Build Status codecov

Buy Me A Coffee

Getting started

QR Code

Decoding

The QRCodeReader class takes a list of bytes and returns the decoded barcode.

import 'tool/examples/png_decoding.dart';

Encoding

The QRCodeReader class takes a list of bytes and returns the decoded barcode.

import 'tool/examples/png_encoding.dart';

Flutter

The example folder contains a full example that uses the official camera plugin connected to this package to decode barcode from the bytes stream.