runLayoutCallback method

  1. @mustCallSuper
void runLayoutCallback()

Invokes layoutCallback with invokeLayoutCallback.

This method must be called in performLayout, typically as early as possible before any layout work is done, to avoid re-dirtying any child RenderObjects.

Implementation

@mustCallSuper
void runLayoutCallback() {
  assert(debugDoingThisLayout);
  invokeLayoutCallback((_) => layoutCallback());
  _needsRebuild = false;
}