ai_barcode icon indicating copy to clipboard operation
ai_barcode copied to clipboard

How can I stop camera preview in flutter web version?

Open karimi1064 opened this issue 3 years ago • 0 comments

I successfully scan QR code in flutter web app, but after scanning and get a result, camera preview doesn't stop, even using these commands:

_scannerController?.stopCameraPreview();
_scannerController?.stopCamera(); 

In mobile version, everything goes OK. My issue is only in web version in stopping camera preview.

karimi1064 avatar Nov 30 '21 09:11 karimi1064