flutter_camera_qrcode_scanner 0.0.1 copy "flutter_camera_qrcode_scanner: ^0.0.1" to clipboard
flutter_camera_qrcode_scanner: ^0.0.1 copied to clipboard

PlatformAndroid
outdated

A lightweight Flutter widget for QR code scanning.

Flutter QR Code Scanner #

A lightweight Flutter QR code scanner plugin implemented with Dynamsoft Camera Enhancer and Dynamsoft Barcode Reader.

Supported Platforms #

  • Android

Build Configuration #

Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.

minSdkVersion 21

Try Real-time QR Code Scanning #

cd example
flutter run
Flutter QR Code scanner

Usage #

  • Create a QR code scanner view:

    ScannerViewController? controller;
    ScannerView(onScannerViewCreated: onScannerViewCreated);
    void onScannerViewCreated(ScannerViewController controller) {
        setState(() {
          this.controller = controller;
        });
        controller.scannedDataStream.listen((results) {
            
        });
      }
    
  • Use a valid license to activate QR code detection API.

    controller.setLicense('LICENSE-KEY');
    
  • Use controller to start and stop real-time QR code scanning.

    controller.startScanning();
    controller.stopScanning();
    
12
likes
120
pub points
74%
popularity

Publisher

verified publisheryushulx.me

A lightweight Flutter widget for QR code scanning.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_camera_qrcode_scanner