addToScene method

  1. @protected
void addToScene (
  1. SceneBuilder builder,
  2. [Offset layerOffset = Offset.zero]
)
@protected

Override this method to upload this layer to the engine.

Return the engine layer for retained rendering. When there's no corresponding engine layer, null is returned.

Implementation

@protected
void addToScene(ui.SceneBuilder builder, [ Offset layerOffset = Offset.zero ]);