Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_zxing

Barcode and QR code scanner and generator using Dart FFI and ZXing C++.

pub.devRemove
zxing_lib

A pure Dart port of ZXing to encode and decode multiple 1D and 2D barcodes.

pub.devRemove
ScoresHealth86 (best)57
Maintenance97 (best)8
Quality93100 (best)
Popularity85 (best)69
Community45 (best)41
Compatibility100100
UsageDownloads (30 days)70k (best)37k
Likes150 (best)27
Pub points150 / 160160 / 160 (best)
GitHub stars136 (best)61
MaintenanceLatest release3.1.1, 12 days ago (best)1.1.4, a year ago
Major versions in 12 months10 (best)
Contributors24 (best)1
PublisherUnverifiedshirne.com
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies42 (best)
LicenseMITAPACHE-2.0
Setup effortMediumLow
JudgementStrengths
  • High performance powered by the ZXing C++ library via Dart FFI.
  • Supports a wide range of linear and matrix barcode formats for reading and writing.
  • Provides convenient built-in UI widgets like ReaderWidget and WriterWidget.
  • Pure Dart implementation with excellent cross-platform compatibility including Web and Desktop.
  • Supports encoding and decoding multiple barcode types (QR, PDF417, DataMatrix, Aztec, etc.).
  • No need to rely on native platform packages.
Weaknesses
  • Not supported on the web platform.
  • Desktop camera support requires additional setup like camera_desktop.
  • Inferior decoding speed and accuracy compared to native packages.
  • Floating-point differences in Dart cause some test results to differ from original ZXing.
Warnings
  • Native setup
None
flutter_zxing vs zxing_lib: which Flutter package should you use? | pubscout