Skip to content

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

License

Notifications You must be signed in to change notification settings

eK14u/zxing_scanner

 
 

Repository files navigation

ZXing Scanner(Dart)

pub package

A Barcode scanner 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

  • ✅ Scan from camera (Supported Android,IOS, Web)*
  • ✅ Scan from Image file
  • Scan from camera need camera support for platform. and camera plugin now supported android,ios, and web. and on some mobile devices browsers there's error while fetch cameras. see camera fix for web

Getting started

flutter pub add zxing_scanner

Usage

See /example folder.

Scan from camera

ScanView(
    onResult: (List<Result> results),
),

Scan from image file

List<Result> results = await scanImage(await file.readAsBytes());

Additional information

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 34.2%
  • C++ 31.3%
  • CMake 27.5%
  • HTML 2.7%
  • C 2.1%
  • Swift 1.9%
  • Other 0.3%