showOnScreen method
Attempt to make this or a descendant RenderObject visible on screen.
If child
is provided, that RenderObject
is made visible. If child
is
omitted, this RenderObject
is made visible.
Implementation
void showOnScreen([RenderObject child]) {
if (parent is RenderObject) {
final RenderObject renderParent = parent;
renderParent.showOnScreen(child ?? this);
}
}