debugDumpFocusTree function Null safety

void debugDumpFocusTree()

Prints a text representation of the current focus tree, along with the current attributes on each node.

Will do nothing in release builds.

Implementation

void debugDumpFocusTree() {
  assert(() {
    debugPrint(debugDescribeFocusTree());
    return true;
  }());
}