RafaelBarbosatec / qr_code_dart_scan

A QR code scanner that works on both iOS and Android using dart decoder.
MIT License
15 stars 20 forks source link

Update qr_code_dart_scan.dart #19

Closed MateusLucasDaSilva closed 5 months ago

MateusLucasDaSilva commented 5 months ago

The qr_code_dart_scan package only exports the Xfile class from the camera package, and this way I cannot pass the FlashMode parameters in the setFlashMode function of the QRCodeDartScanController controller, and no other parameters from the camera package.

To be able to solve the problem, I try to import the camera package manually into my project, but I believe this is not the best solution.

suggestion: export all functions from the camera package. currently only the Xfile class is exported

RafaelBarbosatec commented 5 months ago

Thanks so much for contributing!

MateusLucasDaSilva commented 5 months ago

Can you update the version on pub.dev please? Congratulations on the work, the package is very useful to me.

Em sex, 12 de abr de 2024 20:43, Rafael Almeida Barbosa < @.***> escreveu:

Merged #19 https://github.com/RafaelBarbosatec/qr_code_dart_scan/pull/19 into main.

— Reply to this email directly, view it on GitHub https://github.com/RafaelBarbosatec/qr_code_dart_scan/pull/19#event-12455176579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYG45I2P3LACQ6PZYODUXJDY5BWTPAVCNFSM6AAAAABGE4JG6GVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGQ2TKMJXGY2TOOI . You are receiving this because you authored the thread.Message ID: @.*** .com>