SceneErrorBuilder typedef Widgets

SceneErrorBuilder = Widget Function(BuildContext context, Object error, VoidCallback retry)

Builds the widget shown when a SceneView cannot load the engine resources it needs to draw, given the error. Calling retry loads them again. See SceneView.errorBuilder.

Implementation

typedef SceneErrorBuilder =
    Widget Function(BuildContext context, Object error, VoidCallback retry);