ZXing Widget(Dart)

pub package

A Barcode Generator Widget that can be embedded inside flutter. It uses zxing-dart for all platforms.

ZXing Dart pub package
ZXing Widget pub package
ZXing Scanner pub package

Features

  • ✅ QRCode
  • ✅ PDF417 code
  • ✅ DataMatrix code
  • ✅ AZTec code
  • ✅ OneDemension code
  • ✅ Paint callback
  • ✅ Customize color

Preview

Code Generator Preview

Getting started

flutter pub add zxing_widget

Usage

See /example folder.

Scan from camera

BarcodeWidget(
    QrcodePainter(
        'qrcode data',
        errorCorrectionLevel: ErrorCorrectionLevel.H,
        foregroundColor: Colors.blue,
    ),
    size: const Size(200, 200),
),

Additional information

This package depends on zxing_lib witch is a pure dart port of ZXing.