Skip to content
pubscout

flutter_qr_reader

1.0.5, released 6 years ago by an unverified publisher

Scans QR codes from the camera or image files on Android and iOS.

WASM-readyQuiet but busy
$ flutter pub add flutter_qr_reader
Source repository

What it does

Provides a platform view for live QR code scanning and a method to decode QR codes from image files. Includes a built‑in UI widget and flashlight control.

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

Use it when

  • You need quick QR scanning with a ready‑made UI
  • You target only Android/iOS and can add native permissions
  • You want null‑safe Dart API

Skip it when

  • You need web or desktop support
  • You require heavy customization of the scanning UI
  • You prefer a pure Dart solution without platform views

Strengths

  • Simple API for both camera and image scanning
  • Built‑in UI widget and flashlight control
  • Null‑safety support

Weaknesses

  • Limited to Android and iOS
  • Relies on platform views which may affect performance
  • Customization of the scanner UI is limited

Setup

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

Add camera permission to AndroidManifest, add NSCameraUsageDescription and io.flutter.embedded_views_preview=YES to iOS Info.plist

import 'package:flutter_qr_reader/flutter_qr_reader.dart';

QrReaderView(
  width: 320,
  height: 350,
  callback: (data) {
    print('Scanned: $data');
  },
);

Alternatives

Packages that do the same job and could replace flutter_qr_reader.