flutter_barcode_listener
flutter_barcode_listener copied to clipboard
Windows Desktop can not get full code
I have a strange problem, in some Windows systems, the complete barcode cannot always be scanned, and the results in release mode and debug mode are different.
My code is this
BarcodeKeyboardListener( bufferDuration: const Duration(milliseconds: 500), useKeyDownEvent: true, onBarcodeScanned: (barcode) { debugPrint(barcode); if (barcode.length == 12) { barcode = "0" + barcode; } controller.barcode(barcode: barcode); }, child: barcodeList(), )
i have 3 barcode
0755441231925 20147426 3700408421526
in debug mode result
in release mode result
Hello.. have you found any solution for this?
Any solution here pls?
Note, if you are able to configure scanning inter character delay this workaround is working for me https://github.com/flutter/flutter/issues/79849#issuecomment-1007147194
Closing this since it's issue with Flutter, not this plugin.