Hi,
In my app I need to interact with the feature tables both when the actual map is visible in the app and when it is not. My approach has been to use the ArcGISMapViewController inside a provider so that other services can perform these geometrical modifications at any given time, independently of whether the map is actually rendered to the screen or not.
However, this causes problems, because in the ArcGIS SDK for Flutter the ArcGISMapView calls the dispose method on the controller. I don't want the UI component to own the controller, I want the provider to own it. When using for example text fields I manually have to dispose the controller, which gives me better control and flexibility, and I would like the same for this controller.
Does anyone have any suggestions on what I should do here, and if not, can we somehow add this functionality to the SDK?