buildScene method

Scene buildScene (SceneBuilder builder)

Consider this layer as the root and build a scene (a tree of layers) in the engine.

Implementation

ui.Scene buildScene(ui.SceneBuilder builder) {
  updateSubtreeNeedsAddToScene();
  addToScene(builder);
  return builder.build();
}