Skip to content
pubscout

qr_code_tools

0.2.0, released 2 years ago by aifeii.com

Flutter plugin for iOS and Android to decode QR codes.

WASM-ready
$ flutter pub add qr_code_tools
Source repository

What it does

Provides a plugin for decoding QR codes from local files on Android and iOS.

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

Use it when

  • You need to decode a QR code from a local image file
  • You are building an app for Android and iOS that requires QR code reading capabilities

Skip it when

  • You need live camera preview scanning instead of local file decoding
  • You need web or desktop support

Strengths

  • Simple API for decoding QR codes from local files
  • Supports Android and iOS

Weaknesses

  • Limited platform support (only iOS and Android)
  • Minimal documentation and features

Setup

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

For iOS, add the Privacy - Photo Library Usage Description key to Info.plist.

import 'package:qr_code_tools/qr_code_tools.dart';

String _data;

Future decode(String file) async {
  String data = await QrCodeToolsPlugin.decodeFrom(file);
  setState(() {
    _data = data;
  });
}

Alternatives

Packages that do the same job and could replace qr_code_tools.