with multi_image_picker flutter first, I select to choose a picture. Then my camera is starting the green dot is showing it's fine. But after choosing an image it should be invisible. It is still visible then the entire application. How I can resolve this in flutter? please give me some suggestions to get rid of this.
Asked
Active
Viewed 828 times
2
-
I face the same problem. Did you resolve the issue? – suztomo Apr 13 '21 at 02:30
-
Not yet. :( If you will find answer please share here – Noban Hasan Apr 13 '21 at 11:29
-
1I stopped “enableCamera: true” (it’s false by default) and the green-dot problem disappeared. – suztomo Apr 14 '21 at 01:35
1 Answers
0
You can investigate Photos or PhotoKit native frameworks more precisely.
I'm not sure about your specific use case, but it seems the solution might be similar to the answer
[self.captureSession stopRunning];
[self.previewLayer removeFromSuperlayer];
self.previewLayer = nil;
self.captureSession = nil;

Aleksandr B.
- 505
- 4
- 6