Skip to content

bcko/flutter_qrcode_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRCode Reader plugin for Flutter

A Flutter plugin for reading QR Codes with the camera.

Example

import 'package:qrcode_reader/qrcode_reader.dart';
Future<String> futureString = new QRCodeReader()
               .setAutoFocusIntervalInMs(200) // default 5000
               .setForceAutoFocus(true) // default false
               .setTorchEnabled(true) // default false
               .setHandlePermissions(true) // default true
               .setExecuteAfterPermissionGranted(true) // default true
               .setFrontCamera(false) // default false
               .scan();

These options are Android only (with the exception of setFrontCamera(bool)), this is the simplest way of plugin usage:

Future<String> futureString = new QRCodeReader().scan();