toStringShallow method

  1. @override
String toStringShallow ({String joiner: '; ', DiagnosticLevel minLevel: DiagnosticLevel.debug })
override

Returns a one-line detailed description of the render object. This description is often somewhat long.

This includes the same information for this RenderObject as given by toStringDeep, but does not recurse to any children.

Implementation

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