You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, sorry for leaving you so long.
You are right, v2 does not use CameraController.instance anymore. Instead you can just call CameraController() to get an instance of the controller. Behind the scenes it behaves just like a singleton.
Is your issue solved or do you have suggestion for new features in v2?
First of all, thanks for this amazing scanner, it works really fast.
However, after a barcode is scanned, I need to access the preview image, to pass it as a background for another screen/page.
I tried copying the
_buildPreview
method into my project, and use it with theCameraController
as followsHowever, when compiling the project, I get the following error
Any help will be greatly appreciated
The text was updated successfully, but these errors were encountered: