Skip to content
pubscout

simple_barcode_scanner

0.6.1, released 6 weeks ago by kharagedition.com

Scan barcodes and QR codes across mobile, web, and Windows platforms.

WASM-ready
$ flutter pub add simple_barcode_scanner
Source repository

What it does

Provides an easy-to-use API and widget for scanning barcodes and QR codes using device cameras on Android, iOS, web, and Windows. It supports both scanning and streaming barcode results.

AI-written summary of version 0.6.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need cross-platform barcode scanning supporting mobile, web, and Windows.
  • You want a quick pre-built barcode scanning screen or widget rather than building custom camera views.

Skip it when

  • You need advanced machine learning features combined with barcodes (use google_mlkit_barcode_scanning).
  • You require robust, native iOS-specific maintenance and active development without relying on older forked libraries.

Strengths

  • Supports web and Windows alongside Android and iOS.
  • Provides both future-based scanning and stream-based scanning APIs.
  • Includes customizable app bars and camera configurations.

Weaknesses

  • Flash and switch camera features are limited to mobile devices.
  • iOS support relies on legacy forked dependencies and testing may be delayed due to hardware availability.
  • Some inline widget features are Android-only.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
5

Requires platform-specific setup for mobile via flutter_barcode_scanner, and permissions handling for camera access.

String? res = await SimpleBarcodeScanner.scanBarcode(context);

Alternatives

Packages that do the same job and could replace simple_barcode_scanner.

  • mobile_scanner

    A well-maintained, feature-rich barcode scanner plugin for Flutter supporting mobile platforms with active community support.

  • qr_code_scanner_plus

    Alternative QR and barcode scanning option focused primarily on mobile implementations.

Works with

Packages commonly used together with simple_barcode_scanner: ones it builds on, ones built on it, and its own family.