barcode_rt510_plugin 0.0.2 copy "barcode_rt510_plugin: ^0.0.2" to clipboard
barcode_rt510_plugin: ^0.0.2 copied to clipboard

A flutter plugin for Barcode RT510 to read Barcode Cards.

barcode_plugin #

A flutter plugin for Tablet RT510 to read Barcode Cards.

https://pub.dev/packages/barcode_rt510_plugin

Getting Started #

In your Gradle exclude Flutter so files because libary is working in 32bit mode
Only use release apk because running from IDE will not exclude 64bit files
`packagingOptions {
    exclude 'lib/arm64-v8a/libflutter.so'
    exclude 'lib/arm64-v8a/libapp.so'
     pickFirst 'lib/armeabi-v7a/libdevapi.so'//In case a library conflict with other libs
}`
  • Import the library: import 'package:barcode_rt510_plugin/barcode_rt510_plugin.dart';

  • Single Scan for the barcode

    await BarcodeRT510Plugin.scanSingle;

  • Continuous Scan for the barcode

    await BarcodeRT510Plugin.scanContinuous;

  • Stop Reading

    await BarcodeRT510Plugin.stop;

  • Clear cached data for the reader

    await BarcodeRT510Plugin.clearData;

  • Listen to barcodes status

    BarcodePlugin.barcodeStatusStream.receiveBroadcastStream().listen(updateBarcodes);

       List<String> _data = [];
        void updateBarcodes(dynamic result) {
        setState(() {
       _data.add(result);
       });
    }
    
2
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin for Barcode RT510 to read Barcode Cards.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on barcode_rt510_plugin