Tree-style indent with pipe for non-last items.
static String tree(ListItems items, int index) { if (index == items.length - 1) { return ' '; } return '│ '; }