describeTree method

String describeTree()

Multi-line dump of the current element tree. Useful in test failure messages and ad-hoc debugging.

Implementation

String describeTree() =>
    _root?.toStringDeep() ?? '(tester has no root; call pumpWidget first)';