wifi_barcode_scanner 1.0.0 copy "wifi_barcode_scanner: ^1.0.0" to clipboard
wifi_barcode_scanner: ^1.0.0 copied to clipboard

Wireless barcode scanning between devices over WiFi. Turn any phone into a barcode scanner for your POS or inventory app.

WiFi Barcode Scanner #

pub package License: MIT

A Flutter package for wireless barcode scanning between devices over WiFi. Turn any phone into a barcode scanner for your POS, inventory, or warehouse application.

✨ Features #

  • 📱 Turn any phone into a wireless barcode scanner
  • 🌐 Works over WiFi or mobile hotspot
  • 🔌 No cables or Bluetooth required
  • ⚡ Real-time barcode transmission
  • 🔍 Built-in connection diagnostics
  • ✅ Scan confirmation dialogs
  • 🛠️ Easy integration

📦 Installation #

Add to your pubspec.yaml:

dependencies:
  wifi_barcode_scanner: ^1.0.0

Then run:

flutter pub get

🚀 Quick Start #

Receiver Device (Tablet/POS) #

import 'package:wifi_barcode_scanner/wifi_barcode_scanner.dart';

final server = BarcodeHttpServer(
  onBarcodeReceived: (barcode) {
    print('Received: $barcode');
    // Process barcode in your app
  },
);

String? ip = await server.start();
print('Server IP: $ip:8080');

Scanner Device (Phone) #

import 'package:wifi_barcode_scanner/wifi_barcode_scanner.dart';

Scaffold(
  body: ScannerWidget(
    config: ScannerConfig(
      defaultIpAddress: '192.168.43.1', // or your receiver's IP
    ),
  ),
)
2
likes
160
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Wireless barcode scanning between devices over WiFi. Turn any phone into a barcode scanner for your POS or inventory app.

Repository (GitHub)
View/report issues

Topics

#barcode #scanner #wifi #pos #inventory

License

MIT (license)

Dependencies

flutter, http, mobile_scanner, shared_preferences, shelf

More

Packages that depend on wifi_barcode_scanner