An open API service indexing awesome lists of open source software.

https://github.com/ponnamkarthik/qrcodereaderflutter

Flutter Plugin for QRCode Reader
https://github.com/ponnamkarthik/qrcodereaderflutter

Last synced: 3 months ago
JSON representation

Flutter Plugin for QRCode Reader

Awesome Lists containing this project

README

          

# QRCode Reader plugin for Flutter

> This is a copy of [qrcode_reader](https://pub.dartlang.org/packages/qrcode_reader) with build fix

> The original repo is archived so publishing as a new plugin

Flutter plugin for reading QR Codes with the camera.

### Import

```yaml
dependencies:
qr_reader: ^0.1.3
```

### Example

``` dart
import 'package:qr_reader/qr_reader.dart';
```

``` dart
Future futureString = new QRCodeReader()
.setAutoFocusIntervalInMs(200) // default 5000
.setForceAutoFocus(true) // default false
.setTorchEnabled(true) // default false
.setHandlePermissions(true) // default true
.setExecuteAfterPermissionGranted(true) // default true
.scan();
```

These options are Android only, this is the simplest way of plugin usage:
``` dart
Future futureString = new QRCodeReader().scan();
```