barcode_scanner_plugin
A powerful Flutter plugin for dual-mode barcode scanning. Supports dedicated PDA hardware via Broadcast Intents and smartphone cameras using CameraX and Google ML Kit.
What this package is like to depend on
Last release 2 months ago
29 May 2026
Too new to tell
only 1 release windows
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
2 months old
10 releases · first in 2026
10 releases in the last 12 months
see the full history below
Release timeline
10 releases · May 2026 to May 2026Releases
latest 10-
0.2.229 May 2026 -
0.2.129 May 2026Release notes
Open source →- Improvement: Camera UI now provides interactive zoom control (0x–1x linear zoom) for better barcode detection at varying distances.
-
0.2.029 May 2026Release notes
Open source →- Major UI Redesign: Completely redesigned camera scan interface:
- Transparent scan frame with clipOutRect instead of PorterDuff CLEAR - camera preview shows through the frame area clearly.
- Blue semi-transparent overlay (#2196F3 at 53% alpha) around the frame for better visual focus.
- Gradient blur/feather edges using 4 LinearGradients + 4 RadialGradients for a soft transition between overlay and frame.
- Touch zoom wheel on the right side with visual track, green thumb indicator, and +/- buttons (replaces old SeekBar).
- Lightning bolt flash icon (yellow when on, white when off) with scale animation feedback.
- Close button with X icon drawable.
- Performance Optimization:
- Zero allocations in
onDraw()(all Paint objects pre-allocated as fields). postInvalidateOnAnimation()for vsync-aligned rendering instead ofinvalidate().- Reusable RectF and Path to avoid GC churn.
- Frame analysis throttled to 150ms interval to reduce CPU/battery usage.
- Scan line early-return optimization when outside visible area.
- Zero allocations in
- Bilingual Documentation: All Kotlin source files now have comprehensive comments in both English and Vietnamese.
- Example App Redesign: Updated
example/lib/main.dartwith Material 3, loading states, and usage guide.
- Major UI Redesign: Completely redesigned camera scan interface:
-
0.1.529 May 2026Release notes
Open source →- New Feature: Added Camera Frame (PreviewView) with fullscreen preview for barcode scanning.
- New Feature: Added Zoom functionality via SeekBar slider and pinch-to-zoom gesture.
- Improvement: Camera UI now provides interactive zoom control (0x–1x linear zoom) for better barcode detection at varying distances.
pubspec.yamlversion bump and added pub.dev topics for discoverability.
-
0.1.428 May 2026Release notes
Open source →- Bugfix: Added missing
import android.os.Buildand fixed syntax error inregisterBarcodeReceiver()that caused build failure in v0.1.3. pubspec.yamlversion bump.
- Bugfix: Added missing
-
0.1.328 May 2026Release notes
Open source →- Android 13+ Compatibility: Added
RECEIVER_EXPORTEDflag when registering BroadcastReceiver on Android 13 (API 33) and above to comply with new runtime broadcast receiver restrictions.
- Android 13+ Compatibility: Added
-
0.1.228 May 2026Release notes
Open source →- Improvement: Removed cached stream variable in
barcodeStreamto avoid "Stream already subscribed" errors. - Removed
getPlatformVersion(): Xóa method lấy phiên bản OS không cần thiết khỏi toàn bộ codebase (Dart, Kotlin, Swift, tests) để giữ API plugin tập trung vào quét mã vạch. - Documentation: Added comprehensive comments and KDoc documentation for all Dart, Kotlin, and Swift source files.
- Updated
pubspec.yamlrepository URL and version.
- Improvement: Removed cached stream variable in
-
0.1.127 May 2026Release notes
Open source →- New Feature: Added Camera Scanning support using CameraX and Google ML Kit.
- Support for regular smartphones without dedicated hardware scanners.
- Dual-mode scanning: Detects hardware PDA scan intents or uses the camera.
- Improved documentation and usage examples in README.
-
0.1.027 May 2026Release notes
Open source →- New Feature: Added Camera Scanning support using CameraX and Google ML Kit.
- Support for regular smartphones without dedicated hardware scanners.
- Dual-mode scanning: Detects hardware PDA scan intents or uses the camera.
- Improved documentation and usage examples in README.
-
0.0.127 May 2026Release notes
Open source →- Initial release.
- Support hardware barcode scanning via Android Broadcast Intent and EventChannel.
- Added Federated Plugin Architecture layout.