flutter_datawedge
3.2.0, released 2 years ago by circuskitchens.com
Communicate with Zebra DataWedge barcode scanners using the DataWedge Intent API in Flutter.
WASM-ready
What it does
A Flutter plugin that enables communication with Zebra DataWedge scanners on Android via intents. It allows apps to initialize scanners, create profiles, listen to scan results and scanner events on streams, and control scanner actions.
AI-written summary of version 3.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a Flutter application that runs on Zebra Android devices with built-in barcode scanners
- Integrating with the Zebra DataWedge Intent API to manage profiles and capture scan results
Skip it when
- Targeting non-Android platforms or generic smartphone cameras for barcode scanning without Zebra hardware
- Needing a general-purpose cross-platform camera barcode scanner
Strengths
- Direct integration with Zebra DataWedge APIs and Android intents
- Provides streams for scan results, scanner events, and status changes
- Supports profile creation and management for DataWedge
Weaknesses
- Android-only plugin
- Requires specific Zebra hardware running DataWedge
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 8
Requires Android configuration for Zebra DataWedge and compatible Zebra hardware.
FlutterDataWedge dw = FlutterDataWedge();
await dw.initialize();
await createDefaultProfile(profileName: "Example Profile");
StreamSubscription onScanSubscription = dw.onScanResult.listen((ScanResult result) {
print(result.data);
});Works with
Packages commonly used together with flutter_datawedge: ones it builds on, ones built on it, and its own family.
- uuidflutter_datawedge depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- asyncflutter_datawedge depends on itUtility classes and helpers that extend Dart's async library.
- json_annotationflutter_datawedge depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- stream_transformflutter_datawedge depends on itExtension methods adding common stream transform operators
- freezed_annotationflutter_datawedge depends on itAnnotations for the freezed code-generator.