flutter_barcode_listener library

Classes

BarcodeKeyboardListener
This widget will listen for raw PHYSICAL keyboard events even when other controls have primary focus. It will buffer all characters coming in specifed bufferDuration time frame that end with line feed character and call callback function with result. Keep in mind this widget will listen for events even when not visible. Windows seems to be using the RawKeyDownEvent instead of the RawKeyUpEvent, this behaviour can be managed by setting useKeyDownEvent.

Constants

aSecond → const Duration
hundredMs → const Duration
lineFeed → const String

Typedefs

BarcodeScannedCallback = void Function(String barcode)