RafaelBarbosatec / qr_code_dart_scan

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

I can't pass function parameters ! #18

Closed MateusLucasDaSilva closed 7 months ago

MateusLucasDaSilva commented 7 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