hardware_scanner_input 0.1.0
hardware_scanner_input: ^0.1.0 copied to clipboard
A Flutter widget that captures input from HID-mode hardware barcode scanners on Android without showing the software keyboard. Supports Enter-suffix and silence-flush scanners.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hardware_scanner_inputThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
hardware_scanner_input: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:hardware_scanner_input/hardware_scanner_input.dart';