muted static method

Tree muted(
  1. String rootLabel
)

Creates a tree with muted styling.

Implementation

static Tree muted(String rootLabel) {
  return Tree()
    ..root(rootLabel)
    ..enumerator(TreeEnumerator.normal)
    ..rootStyle(Style().dim())
    ..itemStyle(Style().dim())
    ..enumeratorStyle(Style().dim())
    ..indenterStyle(Style().dim());
}