controllerProvider property

ArcGISSceneViewController Function() controllerProvider
final

Called when this ArcGISSceneView needs an ArcGISSceneViewController to associate with itself.

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

Use the controller to set the ArcGISSceneViewController.arcGISScene 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 ArcGISScene.load.