barcode_scanner
10.0.0, released 3 weeks ago by scanbot.io
Flutter plugin for the Scanbot Barcode Scanner SDK supporting 1D and 2D barcodes.
$ flutter pub add barcode_scannerWhat it does
Provides scanning functionality for 1D and 2D barcodes like EAN, UPC, QR code, Data Matrix, and PDF 417. It operates entirely offline and includes ready-to-use UI components with single scanning, multi scanning, and Find & Pick modes.
AI-written summary of version 10.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need reliable, high-performance barcode scanning that works offline.
- You require ready-to-use UI components with AR overlays and barcode filters.
- You need to parse structured information from 2D barcodes like boarding passes or IDs.
Skip it when
- You are looking for a free or open-source barcode scanning solution, as this relies on the commercial Scanbot SDK.
- You only need basic, lightweight QR code rendering rather than advanced scanning.
Strengths
- Fast barcode detection even in poor lighting or with damaged codes.
- Comprehensive support for numerous 1D, 2D, and postal barcode symbologies.
- Built-in Ready-to-Use UI with multiple scanning modes and AR overlays.
Weaknesses
- Requires a commercial license key for production use after the initial 60-second trial session.
- License verification and native dependencies add integration overhead.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 4
Requires adding platform-specific camera permissions in AndroidManifest.xml and Info.plist, and initializing the SDK with a license key.
var config = SdkConfiguration(
licenseKey: "<YOUR_SCANBOT_SDK_LICENSE_KEY>",
loggingEnabled: true,
);
ScanbotBarcodeSdk.initialize(config);
var configuration = BarcodeScannerScreenConfiguration();
var result = await ScanbotBarcodeSdk.barcode.startScanner(configuration);Alternatives
Packages that do the same job and could replace barcode_scanner.
- mobile_scanner
Pick mobile_scanner if you need a free, open-source barcode and QR code scanner plugin.
95Compare - google_mlkit_barcode_scanning
Pick google_mlkit_barcode_scanning if you prefer Google's ML Kit for on-device barcode detection.
94Compare
Works with
Packages commonly used together with barcode_scanner: ones it builds on, ones built on it, and its own family.