debugDumpLayerTree function Null safety

void debugDumpLayerTree ()

Prints a textual representation of the entire layer tree.

Implementation

void debugDumpLayerTree() {
  debugPrint(RendererBinding.instance?.renderView.debugLayer?.toStringDeep() ?? 'Layer tree unavailable.');
}