If I open a screen where I have a panorama widget from the home page and then go back to the home page, in the console I have several errors because the gyroscope event continues to be sent by the panorama component ...
A way to solve this issue is to assign this.scene = null in the dispose of the panorama.dart code:
If I open a screen where I have a panorama widget from the home page and then go back to the home page, in the console I have several errors because the gyroscope event continues to be sent by the panorama component ...
A way to solve this issue is to assign
this.scene = null
in the dispose of the panorama.dart code: