redepthChildren method
override
Adjust the depth of this node's children, if any.
Override this method in subclasses with child nodes to call redepthChild for each child. Do not call this method directly.
Implementation
@override
void redepthChildren() {
final RenderObject? foregroundChild = _foregroundRenderObject;
final RenderObject? backgroundChild = _backgroundRenderObject;
if (foregroundChild != null) {
redepthChild(foregroundChild);
}
if (backgroundChild != null) {
redepthChild(backgroundChild);
}
super.redepthChildren();
}