renderTree method

  1. @override
void renderTree(
  1. Canvas canvas
)
override

Implementation

@override
void renderTree(Canvas canvas) {
  if (parent != null) {
    render(canvas);
  }
  for (final component in children) {
    component.renderTree(canvas);
  }
}