combined_barcode_scanner_usb_keyboard 1.1.0 copy "combined_barcode_scanner_usb_keyboard: ^1.1.0" to clipboard
combined_barcode_scanner_usb_keyboard: ^1.1.0 copied to clipboard

Combined Barcode scanner package that detects usb keyboard input

fast_barcode_scanner combined scanner implementation #

This implementation of a combined scanner (see https://pub.dev/packages/combined_barcode_scanner) uses the keyboard input to detect scan codes. Some external usb scanners are known to use keyboard input to input scan codes. (Eg. Zebra DS2208)

Please follow the installation instructions in https://pub.dev/packages/fast_barcode_scanner and https://pub.dev/packages/combined_barcode_scanner

Example #

BarcodeScannerWidget(
  controller: _controller,
  onScan: (code) {
    if (kDebugMode) {
      print("GOT BARCODE =========== ${code.code}");
    }
  },
  configuration: const ScannerConfiguration(
    enableFormats: {}, // supported formats are determined by the scanner itself
  ),
  scanners: [UsbKeyboardScanner()],
);
1
likes
160
points
180
downloads

Publisher

verified publishericapps.com

Weekly Downloads

Combined Barcode scanner package that detects usb keyboard input

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

combined_barcode_scanner, flutter

More

Packages that depend on combined_barcode_scanner_usb_keyboard