Skip to content

Conversation

@DPohorielov
Copy link

Improves: no need to find a place to put BarcodeScannerWidget, adding more complexity into layouts stretching.
Fixes: even properly placed KeyboardListener won't capture keyboard event without a child widget tree (therefore it's required)

Usage:

Old:

Column(children:[
content,
barcodeScannerWidget,
])

New:

BarcodeScannerWidget(children:[
content,
scanners: [
UsbKeyboardScanner(child: content),
],
])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant