We had a use case in our app that we needed to lock the camera orientation as we scan VIN barcodes on a regular basis that are often vertical.
I've add the ability on the Camera Controller to optionally add lockCaptureOrientation: DeviceOrientation.portraitUp for example. Not sure if anyone else needs the ability to do this but we did so I wanted to pass it along if was of any use.
We had a use case in our app that we needed to lock the camera orientation as we scan VIN barcodes on a regular basis that are often vertical.
I've add the ability on the Camera Controller to optionally add lockCaptureOrientation: DeviceOrientation.portraitUp for example. Not sure if anyone else needs the ability to do this but we did so I wanted to pass it along if was of any use.
QRCodeDartScanView( scanInvertedQRCode: true, lockCaptureOrientation: DeviceOrientation.portraitUp, onCapture: (Result result) {} )