omar-hanafy/flutter-directory-tree
Package-specific skills for the flutter_directory_tree Flutter package: the exact 2.x API (DirectoryTreeController commands, views, slivers, keyboard, context menus, drag and drop, checkboxes and the picker, lazy loading, search, theming, large-tree performance) and the dart fix-assisted 1.x to 2.0 migration.
Use when upgrading a Flutter project from flutter_directory_tree 1.x to 2.0, or fixing analyzer errors after that bump - TreeBuilder and TreeData replaced by DirectoryTree, string ids replaced by NodeId paths, the removed ExpansionController, SelectionController, SelectionShortcuts, TreeNodeTile, ContextMenuDelegate, and IconProvider, nodeBuilder to rowBuilder, rebuild and revealAndScroll replacements, the picker's allowMultiple and foldersOnly, the dart fix theme renames (rowHeight, indent), SelectionMode.multi, and behavior changes that compile but do nothing, such as dropped immutable state values.
Use when writing or reviewing Flutter code in a project that depends on the flutter_directory_tree package (2.x) - DirectoryTreeController commands (expand, select, toggleChecked, moveFocus, reveal, query, updateTree, loadChildren), DirectoryTreeView and DirectoryTreePanel, SliverDirectoryTree with DirectoryTreeKeyboard, custom rows with rowBuilder and DirectoryTreeRow, checkboxes and showDirectoryTreePicker, context menus, drag and drop, lazy loading with FileSystemTreeLoader, search query syntax, keyboard bindings, DirectoryTreeThemeData theming, persisting the expansion, and keeping trees of 100k+ nodes fast.