SceneWidgetBuilder typedef

SceneWidgetBuilder = Object Function(SceneArgs args)

What an ExternalNode builds, given the args of the moment.

The return is Object and not Widget because this half of the scene system is pure Dart by decision — a widget is a subtype of Object, so a file writing (a) => app.DrinkBadge(…) satisfies it, and the renderer is where it becomes a Widget again.

Implementation

typedef SceneWidgetBuilder = Object Function(SceneArgs args);