redepthChildren method

  1. @override
void redepthChildren()
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() {
  if (foreground != null) redepthChild(foreground!);
  if (sliver != null) redepthChild(sliver!);
  if (background != null) redepthChild(background!);
}