parentOf method
Implementation
AbstractNode? parentOf(AbstractNode child)
{
AbstractNode? node = child.parent;
while (true)
{
if (node == null) break;
if (node is RenderConstrainedLayoutBuilder)
{
node = node.parent;
break;
}
node = node.parent;
}
return node;
}