juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.
BSD 3-Clause "New" or "Revised" License
744 stars 444 forks source link

When I call the stop function of the controller, the screen turns directly white #1010

Closed shijianoo closed 1 month ago

shijianoo commented 1 month ago

When I call the Stop function of the controller, the screen goes straight to white. What should I do to get the MobileScanner to stay in the last frame and not display white

navaronbracke commented 1 month ago

You probably want the pause function for that. See https://github.com/juliansteenbakker/mobile_scanner/issues/1006 for the tracking issue for that. Once that is implemented, I would expect you to just be able to call the pause method to do this.