whitespaceTextConfiguration top-level property

TextTreeConfiguration whitespaceTextConfiguration

Whitespace only configuration where children are consistently indented two spaces.

Use this style for displaying properties with structured values or for displaying children within a transitionTextConfiguration as using a style that draws line art would be visually distracting for those cases.


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

See also:


final TextTreeConfiguration whitespaceTextConfiguration = 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,