controllerProvider property

ArcGISMapViewController Function() controllerProvider
final

Called when this ArcGISMapView needs an ArcGISMapViewController to associate with itself.

You must provide an ArcGISMapViewController via this callback. The callback will be called exactly once, shortly before onMapViewReady. The returned ArcGISMapViewController will be bound to this ArcGISMapView and must not be reused or associated with any other ArcGISMapView.

Use the controller to set the ArcGISMapViewController.arcGISMap and configure it. You may wish to create the controller earlier in the process, such as in State.initState, to start asynchronous tasks such as ArcGISMap.load.

Implementation

final ArcGISMapViewController Function() controllerProvider;