build property

Object Function(SceneArgs args) build
final

Makes the widget. The one closure in the system, and it belongs here: only the app knows what a mockup instance is made of.

Returns Object rather than Widget because this half of the scene system is pure Dart by decision; the renderer is where it becomes a widget again.

Implementation

final Object Function(SceneArgs args) build;