FLUTTER ECOSYSTEM

zxing2

A multi-format 1D/2D barcode image processing library implemented in Dart. This is a port of the Android library.

Latest version
0.2.4
30-day downloads
388K
Likes
75
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

zxing2 is a Dart implementation of the ZXing barcode processing library, supporting multi-format 1D and 2D barcode scanning and generation. It is a port of the popular Android ZXing library, enabling cross-platform barcode functionality in Flutter apps. The package works on Android, iOS, Web, macOS, Windows, and Linux, making it ideal for applications requiring reliable barcode reading and writing across devices.

Use cases
  • Scanning QR codes in mobile apps
  • Generating barcodes for inventory tracking
  • Reading product codes in retail apps
  • Integrating barcode input in web applications
  • Supporting document scanning with barcodes
Key features
  • Cross-platform barcode support
  • High accuracy in barcode detection
  • Supports multiple formats (QR, Data Matrix, PDF417, etc.)
  • Lightweight and fast processing
  • Easy integration with Flutter UI
Suitable for
  • Mobile and web apps needing barcode scanning
  • E-commerce and logistics applications
  • Inventory and asset management tools
  • Apps requiring secure data encoding via barcodes
  • Developers seeking native-like performance on multiple platforms
Considerations
  • Requires camera permissions on mobile platforms
  • May need optimization for low-end devices
  • Limited to image-based barcode processing
  • No built-in UI components for scanning
  • Performance depends on image quality and lighting conditions
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add zxing2

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects