PackageTrack
Sign in Get early access

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.

0.2.2 Hung2003s/barcode_scanner_plugin

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 2026
Release Pre-release

Releases

latest 10
  1. 0.2.2 29 May 2026
    Release notes
    • Improvement: Update camera frame.
    Open source →
  2. 0.2.1 29 May 2026
    Release notes
    • Improvement: Camera UI now provides interactive zoom control (0x–1x linear zoom) for better barcode detection at varying distances.
    Open source →
  3. 0.2.0 29 May 2026
    Release notes
    • 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 of invalidate().
      • 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.
    • Bilingual Documentation: All Kotlin source files now have comprehensive comments in both English and Vietnamese.
    • Example App Redesign: Updated example/lib/main.dart with Material 3, loading states, and usage guide.
    Open source →
  4. 0.1.5 29 May 2026
    Release notes
    • 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.yaml version bump and added pub.dev topics for discoverability.
    Open source →
  5. 0.1.4 28 May 2026
    Release notes
    • Bugfix: Added missing import android.os.Build and fixed syntax error in registerBarcodeReceiver() that caused build failure in v0.1.3.
    • pubspec.yaml version bump.
    Open source →
  6. 0.1.3 28 May 2026
    Release notes
    • Android 13+ Compatibility: Added RECEIVER_EXPORTED flag when registering BroadcastReceiver on Android 13 (API 33) and above to comply with new runtime broadcast receiver restrictions.
    Open source →
  7. 0.1.2 28 May 2026
    Release notes
    • Improvement: Removed cached stream variable in barcodeStream to 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.yaml repository URL and version.
    Open source →
  8. 0.1.1 27 May 2026
    Release notes
    • 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.
    Open source →
  9. 0.1.0 27 May 2026
    Release notes
    • 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.
    Open source →
  10. 0.0.1 27 May 2026
    Release notes
    • Initial release.
    • Support hardware barcode scanning via Android Broadcast Intent and EventChannel.
    • Added Federated Plugin Architecture layout.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive