qrcode_flutter_ohos 1.0.0 copy "qrcode_flutter_ohos: ^1.0.0" to clipboard
qrcode_flutter_ohos: ^1.0.0 copied to clipboard

Flutter plugin for scanning QR codes.You can customize your page by using PlatformView.Scanning Picture from path(photo album).

qrcode_flutter_ohos #

Flutter plugin for scanning QR codes. Customize your scanning interface using PlatformView. Import images from the photo album for scanning.

Usage #

dependencies:
qrcode_flutter: ^1.0.0
qrcode_flutter_ohos: ^1.0.0

Example #

import 'package:qrcode_flutter_ohos/qrcode_flutter_ohos.dart';
import 'package:image_picker/image_picker.dart';
QRCaptureController _controller = QRCaptureController();

final ImagePicker picker = ImagePicker();
final XFile? image = await picker.pickImage(source: ImageSource.gallery);
if(image != null) {
   var qrCodeResult = await QRCaptureController.getQrCodeByImagePath(image.path);
}
_controller.pause();
_controller.resum();
_controller.setTorch();
_controller.setTorch();
_controller.onCapture((data) {
   print('$data');
}

0
likes
70
points
9
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for scanning QR codes.You can customize your page by using PlatformView.Scanning Picture from path(photo album).

Repository

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on qrcode_flutter_ohos

Packages that implement qrcode_flutter_ohos