flutter_datawedge 1.0.1
flutter_datawedge: ^1.0.1 copied to clipboard
A Flutter package to communicate with Zebra DataWedge scanners using the DataWedge Intent API
flutter_datawedge #
A Flutter package communicate with Zebra DataWedge scanners.
Getting Started (under development) #
Example with Streams
Initialize the FlutterDataWedge Object and attach a listener to the onScanResult Stream.
import 'package:image_picker/image_picker.dart';
FlutterDataWedge dw = FlutterDataWedge(profileName: "Example Profile");
StreamSubscription onScanSubscription = dw.onScanResult.listen((ScanResult result) {
print(result.data);
});
[...]
// Stop listening for new scans.
onScanSubscription.cancel();
dw.dispose();
dispose()
will close all Streams.
Also checkout the example application.
Acknowledgements #
The package was started by rafaeljustinox and and contains contributions by LenhartStephan. It is now maintained by Circus Kitchens.