Skip to content

omar-hanafy/flutter-directory-tree

v2.0.0MIT

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.

migrate-flutter-directory-tree-v1-to-v2

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.

Read SKILL.md at the source

Pinned to revision be59c877af89, 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.