dashedTextConfiguration top-level property
final
Identical to sparseTextConfiguration except that the lines connecting parent to children are dashed.
Example:
<root_name>: <root_description>
│ <property1>
│ <property2>
│ ...
│ <propertyN>
├─<normal_child_name>: <child_description>
╎ │ <property1>
╎ │ <property2>
╎ │ ...
╎ │ <propertyN>
╎ │
╎ └─<child_name>: <child_description>
╎ <property1>
╎ <property2>
╎ ...
╎ <propertyN>
╎
╎╌<dashed_child_name>: <child_description>
╎ │ <property1>
╎ │ <property2>
╎ │ ...
╎ │ <propertyN>
╎ │
╎ └─<child_name>: <child_description>
╎ <property1>
╎ <property2>
╎ ...
╎ <propertyN>
╎
└╌<dashed_child_name>: <child_description>'
<property1>
<property2>
...
<propertyN>
See also:
- DiagnosticsTreeStyle.offstage, uses this style for ASCII art display.
Implementation
final TextTreeConfiguration dashedTextConfiguration = TextTreeConfiguration(
prefixLineOne: '╎╌',
prefixLastChildLineOne: '└╌',
prefixOtherLines: ' ',
linkCharacter: '╎',
// Intentionally not set as a dashed line as that would make the properties
// look like they were disabled.
propertyPrefixIfChildren: '│ ',
propertyPrefixNoChildren: ' ',
prefixOtherLinesRootNode: ' ',
)