renderTree method

void renderTree(
  1. Canvas canvas
)
inherited

Implementation

void renderTree(Canvas canvas) {
  render(canvas);
  _children?.forEach((c) => c.renderTree(canvas));

  // Any debug rendering should be rendered on top of everything
  if (debugMode) {
    renderDebugMode(canvas);
  }
}