void debugDumpRenderTree()

Prints a textual representation of the entire render tree.

Source

void debugDumpRenderTree() {
  debugPrint(RendererBinding.instance?.renderView?.toStringDeep() ?? 'Render tree unavailable.');
}