setLazy method

void setLazy(
  1. RenderNode node,
  2. bool isLazy
)

Implementation

void setLazy(RenderNode node, bool isLazy) {
  node._isLazyLoad = isLazy;
  for (var childNode in node._children) {
    setLazy(childNode, isLazy);
  }
}