addUpdateNodeIfNeeded method

void addUpdateNodeIfNeeded(
  1. RenderNode? renderNode
)

Implementation

void addUpdateNodeIfNeeded(RenderNode? renderNode) {
  if (renderNode != null && !_uiUpdateNodes.contains(renderNode)) {
    _uiUpdateNodes.add(renderNode);
  }
}