Is there any way to pass the CameraController between widgets in Flutter? My app requires the camera to be on multiple pages for the user to preview their recording and align objects. all the ways I have tried to pass the camera between pages has led to the application crashing on a physical device (i.e. initializing the camera on the first page and passing it between pages, creating a separate class for the camera to display the camera preview.)
Is there a Provider I can use?
Thanks!