I am using Flutter's camera plugin to get a live camera preview. But I want to freeze CameraPreview when the user taps the button. So that the picture will stay on the screen when the user taps on the button.
For example in Android: camera.stopPreview();
I cannot use stopImageStream() because I am not streaming the image.
Does anyone know how to do this?