qrscan 0.2.8 qrscan: ^0.2.8 copied to clipboard
A Plug-in for dart, which help you scanning barcode and qrcode with android device.
QR Code Scanner #
A Flutter plugin 🛠 to scanning. Ready for Android 🚀
Permission: #
<uses-permission android:name="android.permission.CAMERA" />
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
qrscan: ^0.2.8
Usage example #
import 'package:qrscan/qrscan.dart' as scanner;
// Open Scanning View to Parse Bar-Code or QR-Code
String cameraScanResult = await scanner.scan();
// Select Bar-Code or QR-Code photos for analysis
String photoScanResult = await scanner.scanPhoto();
// Generating QR-Code
Uint8List result = await scanner.generateBarCode('https://github.com/leyan95/qrcode_scanner');
Supported #
- ✅ Scan BR-CODE
- ✅ Scan QR-CODE
- ✅ Control the flash while scanning
- ✅ Apply for camera privileges
- ✅ Scanning BR-CODE or QR-CODE in albums
- ✅ Display the switch button of the flashlight according to the light intensity
- ✅ Generate QR-CODE
Features #
- Generate BR-CODE
- Support IOS
Contribute #
We would ❤️ to see your contribution!
License #
Distributed under the MIT license. See LICENSE
for more information.
About #
Created by Shusheng.