Skip to content
pubscout

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
$ flutter pub add flutter_datawedge
Source repository

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.