wifi_barcode_scanner 1.0.1 copy "wifi_barcode_scanner: ^1.0.1" to clipboard
wifi_barcode_scanner: ^1.0.1 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
117
downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, mobile_scanner, shared_preferences, shelf

More

Packages that depend on wifi_barcode_scanner