flatTextConfiguration top-level property

TextTreeConfiguration flatTextConfiguration

Whitespace only configuration where children are not indented.

Use this style when indentation is not needed to disambiguate parents from children as in the case of a DiagnosticsStackTrace.


<name>: <description>:
<name>: <description>:

See also:


final TextTreeConfiguration flatTextConfiguration = TextTreeConfiguration(
  prefixLineOne: '',
  prefixLastChildLineOne: '',
  prefixOtherLines: '',
  prefixOtherLinesRootNode: '',
  propertyPrefixIfChildren: '',
  propertyPrefixNoChildren: '',
  linkCharacter: '',
  addBlankLineIfNoChildren: false,
  // Add a colon after the description and before the properties to link the
  // properties to the description line.
  afterDescriptionIfBody: ':',
  isBlankLineBetweenPropertiesAndChildren: false,