qr_code_tools

Last updated:

0 purchases

qr_code_tools Image
qr_code_tools Images
Add to Cart

Description:

qr code tools

QR Code Tools #


The Flutter plugin for iOS and Android to decoding QR codes.
Installation #
First, add qr_code_tools as a dependency in your pubspec.yaml file.
iOS #
Add one rows to the ios/Runner/Info.plist:

one with the key Privacy - Photo Library Usage Description and a usage description.

Or in text format add the key:
<key>NSPhotoLibraryUsageDescription</key>
<string>Can I use the photo library please?</string>
copied to clipboard
Android #
Nothing to do
Example #
import 'package:qr_code_tools/qr_code_tools.dart';

String _data;

/// decode from local file
Future decode(String file) async {
String data = await QrCodeToolsPlugin.decodeFrom(file);
setState(() {
_data = data;
});
}
copied to clipboard
For a more elaborate usage example see here.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.