void debugDumpLayerTree()

Prints a textual representation of the entire layer tree.

Source

void debugDumpLayerTree() {
  debugPrint(RendererBinding.instance?.renderView?.layer?.toStringDeep());
}