yushulx / flutter_barcode_sdk

Build barcode QR detection apps for Windows, Linux, macOS, Android, iOS and web.
https://pub.dev/packages/flutter_barcode_sdk
MIT License
47 stars 18 forks source link

No way to close decodeVideo programmatically #12

Closed matthewtsmith closed 3 years ago

matthewtsmith commented 3 years ago

Flutter Web:

I'm able to scan a barcode and get the result but I'm not able to close the scanner programmatically. The only way I see to close the scanner is by having the user press the "X" button.

yushulx commented 3 years ago

@matthewtsmith I've added a closeVideo() method and updated the version to 1.2.2.