Skip to content
pubscout

qrscan

1.2.4, released 3 months ago by an unverified publisher

One-shot Flutter QR and barcode scanner using native camera APIs.

WASM-ready
$ flutter pub add qrscan
Source repository

What it does

Opens the native camera to scan a single QR code or barcode, returning the decoded string. Also provides functions to scan from photo pickers, paths, or bytes, and to generate barcode/QR images.

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

Use it when

  • You need a quick one-shot camera scan that returns a string result
  • You want a simple scanner implementation without managing a camera widget preview

Skip it when

  • You need an embedded camera preview widget or continuous scanning
  • You need custom format filtering or complex overlay configurations

Strengths

  • Simple imperative API
  • Supports both Android and iOS with native components
  • Built-in decoding fallback and retry logic for rotated images

Weaknesses

  • Not a widget, so you cannot embed the camera preview inside your own UI layout
  • No format filtering arguments

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0

Android minSdk 21. iOS requires NSCameraUsageDescription and NSPhotoLibraryUsageDescription in Info.plist.

import 'package:qrscan/qrscan.dart' as scanner;

String? code = await scanner.scan();

Alternatives

Packages that do the same job and could replace qrscan.

  • mobile_scanner

    Pick mobile_scanner if you need an embedded camera widget, continuous scanning, format filtering, or web/desktop support.