flutter_datawedge 1.2.0 copy "flutter_datawedge: ^1.2.0" to clipboard
flutter_datawedge: ^1.2.0 copied to clipboard

PlatformAndroid

A Flutter package to communicate with Zebra DataWedge scanners using the DataWedge Intent API

flutter_datawedge #

pub package

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.

29
likes
130
pub points
90%
popularity

Publisher

verified publishercircuskitchens.com

A Flutter package to communicate with Zebra DataWedge scanners using the DataWedge Intent API

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, strict_json

More

Packages that depend on flutter_datawedge