Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebarcode_scan2

A flutter plugin for scanning 2D barcodes and QRCodes via camera.

pub.devRemove
camera_android_camerax

Android camera implementation using CameraX library

pub.devRemove
ScoresHealth93 (best)89
Maintenance9595
Quality100100
Popularity87 (best)84
Community8080
Compatibility100 (best)79
UsageDownloads (30 days)21k821k (best)
Likes307 (best)81
Pub points160 / 160160 / 160
GitHub stars985.3k (best)
MaintenanceLatest release4.9.0, 9 days ago (best)0.7.6+1, 3 weeks ago
Major versions in 12 months00
Contributors38100+ (best)
Publishermono0926.comflutter.dev
FitPlatformsAndroid, iOSAndroid
WASM-readyNoNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies1 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Simple API with a single `BarcodeScanner.scan()` method call.
  • Built-in permission handling and flash control options.
  • Uses CameraX for modern Android camera APIs
  • Supports zero‑shutter‑lag and persistent recording
  • Allows custom video output paths
  • Endorsed by Flutter, automatically included when using camera
Weaknesses
  • Relies on older underlying native libraries (MTBBarcodeScanner and barcodescanner).
  • Limited to full-screen scanning flows rather than embedded widget views.
  • Android‑only implementation
  • Some limitations: 240p video fallback, streamOptions ignored
  • Requires WRITE_EXTERNAL_STORAGE permission for older Android versions
Warnings
  • Native setup
  • Native setup
barcode_scan2 vs camera_android_camerax: which Flutter package should you use? | pubscout