flutter_qr_reader_copy

Creator: coderz1093

Last updated:

0 purchases

flutter_qr_reader_copy Image
flutter_qr_reader_copy Images
Add to Cart

Description:

flutter qr reader copy

flutter_qr_reader_copy #
复制flutter_qr_reader插件进行修改,主要是增加一种扫码识别方式,因为有遇到oppo手机使用zxing无法识别的情况
QR code (scan code / picture) recognition (AndroidView/UiKitView)
DEMO #


Getting Started #
import 'package:flutter_qr_reader/flutter_qr_reader.dart';

// 识别图片
final String data = await FlutterQrReader.imgScan(File);

// 嵌入视图
QrReaderView(
width: 320,
height: 350,
callback: (container) {},
)
// 打开手电筒
..setFlashlight
// 开始扫码
..startCamera
// 结束扫码
..stopCamera
copied to clipboard
For IOS #
Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value YES.
<key>io.flutter.embedded_views_preview</key>
<string>YES</string>
copied to clipboard
And you will need provide the description of camera's permission to work properly, otherwise will crash your app.
<key>NSCameraUsageDescription</key>
<string>The porpuse explaining why you will use the camera</string>
copied to clipboard
Built-in UI #

License

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

Files In This Product:

Customer Reviews

There are no reviews.