toStringDeep method

  1. @override
String toStringDeep ({String prefixLineOne: '', String prefixOtherLines: '', DiagnosticLevel minLevel: DiagnosticLevel.debug })
override

Returns a description of the tree rooted at this node. If the prefix argument is provided, then every line in the output will be prefixed by that string.

Implementation

@override
String toStringDeep({
  String prefixLineOne = '',
  String prefixOtherLines = '',
  DiagnosticLevel minLevel = DiagnosticLevel.debug,
}) {
  RenderObject debugPreviousActiveLayout;
  assert(() {
    debugPreviousActiveLayout = _debugActiveLayout;
    _debugActiveLayout = null;
    return true;
  }());
  final String result = super.toStringDeep(
    prefixLineOne: prefixLineOne,
    prefixOtherLines: prefixOtherLines,
    minLevel: minLevel,
  );
  assert(() {
    _debugActiveLayout = debugPreviousActiveLayout;
    return true;
  }());
  return result;
}