TreeFactory extension
Factory methods for common tree styles.
- on
Static Methods
-
arrowList(
String rootLabel) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates an arrow-style list tree. -
ascii(
String rootLabel) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates an ASCII-compatible tree. -
bulletList(
String rootLabel) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates a bullet-style list tree. -
coloredDepth(
String rootLabel, {List< Color> ? depthColors}) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates a tree with colored depth levels. -
fileTree(
Map< String, dynamic> structure, {String? root}) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates a file tree with directory styling. -
fromMap(
Map< String, dynamic> data, {String? root}) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates a tree from a nested map structure. -
highlightDirectories(
String rootLabel) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates a tree that highlights directories. -
muted(
String rootLabel) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates a tree with muted styling. -
rounded(
String rootLabel) → Tree -
Available on Tree, provided by the TreeFactory extension
Creates a rounded tree.