Skip to content

omar-hanafy/directory-tree

v2.0.0MIT

Package-specific skills for the directory_tree Dart package: the exact 2.0.0 API (paths and policies, roots, ordering, issues, flattened rows with incremental expansion, search queries, selection and checkboxes, diffs, rendering, the file system scanner) and the 1.x to 2.0.0 migration.

use-directory-tree

Use when writing or reviewing Dart/Flutter code in a project that depends on directory_tree 2.x - building a DirectoryTree from paths or TreeEntry values, DirectoryTreeBuilder and rebuild, TreePath and PathPolicy (case sensitivity, Windows and UNC paths), TreeRoots and TreeOrder, TreeIssue, NodeId lookups, flatten to TreeRows and TreeRow for a tree view, ExpansionState with expandNode/collapseNode/toggleNode/reveal and persisting requestedExpansion, TreeQuery search syntax and matchRanges highlighting, TreeFilter, SelectionState with range selection and tri-state checkboxes, ListDiff for AnimatedList, TreeDiff after a rescan, render with TreeStyle, or DirectoryScanner from package directory_tree/io.dart.

Read SKILL.md at the source

Pinned to revision d6136652db17, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.