Skip to content
pubscout

qr_mobile_vision

6.0.3, released 2 months ago by an unverified publisher

Plugin for reading QR codes and barcodes using Mobile Vision APIs.

$ flutter pub add qr_mobile_vision
Source repository

What it does

Reads QR codes and barcodes using Android and iOS native APIs via Firebase's MLKit/Mobile Vision. It pipes camera images to the barcode detection API while outputting a preview image onto a Flutter texture.

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

Use it when

  • You need to scan QR codes or barcodes inside a Flutter widget
  • You want a camera preview combined with real-time barcode scanning

Skip it when

  • You need a general-purpose camera plugin without barcode scanning
  • You are using a very old version of iOS below 15.5 and cannot upgrade

Strengths

  • Includes a ready-to-use widget that performs necessary camera output transformations
  • Supports multiple barcode formats including QR, Aztec, Code 128, and PDF417

Weaknesses

  • Requires proper constrained sizing (like a SizedBox or Container) for the camera preview
  • Flash toggling and navigation handling have some known limitations documented in the README

Setup

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

Requires ensuring compatible iOS version (15.5+) and handling native Android/iOS camera permissions.

new SizedBox(
  width: 300.0,
  height: 600.0,
  child: new QrCamera(
    qrCodeCallback: (code) {
      // handle code
    },
  ),
)

Alternatives

Packages that do the same job and could replace qr_mobile_vision.

Works with

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