debugDumpSemanticsTree function Null safety
- [DebugSemanticsDumpOrder childOrder = DebugSemanticsDumpOrder.traversalOrder]
Prints a textual representation of the entire semantics tree. This will only work if there is a semantics client attached. Otherwise, a notice that no semantics are available will be printed.
The order in which the children of a SemanticsNode will be printed is
controlled by the childOrder
parameter.
Implementation
void debugDumpSemanticsTree([DebugSemanticsDumpOrder childOrder = DebugSemanticsDumpOrder.traversalOrder]) {
debugPrint(_generateSemanticsTree(childOrder));
}