needsLayout property
Whether this render object must run performLayout the next time it is reached with the same constraints. Constraints changes always force a new layout even when this flag is false.
Implementation
@protected
bool get needsLayout => _needsLayout;