canReuseStableProxyChildLayout function

bool canReuseStableProxyChildLayout(
  1. RenderBox? child,
  2. BoxConstraints constraints
)

Implementation

bool canReuseStableProxyChildLayout(RenderBox? child, BoxConstraints constraints) {
  if (child == null || !child.hasSize || child.constraints != constraints) {
    return false;
  }
  return _hasReusableStableLayoutChain(child);
}