2

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.

enter image description here

Noban Hasan
  • 593
  • 1
  • 7
  • 21

1 Answers1

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