searchable_tree 0.0.2 copy "searchable_tree: ^0.0.2" to clipboard
searchable_tree: ^0.0.2 copied to clipboard

A highly customizable Flutter tree view widget with built-in search support, expand/collapse functionality, and beautiful UI.

0.0.2 #

New Features #

  • ✨ Added id field to TreeNode for unique node identification
  • ✨ Node selection functionality with visual highlighting
  • ✨ Added selectedColor property for customizing selection highlight
  • ✨ Added allowNodeSelection property to enable/disable node selection
  • ✨ Added onNodeSelected callback when a node is selected
  • ✨ Added onAddButtonTap callback for adding new nodes
  • ✨ Added onNodeShowMenu callback with position for node context menu
  • ✨ Added initialSelectedNodeId property to set initial selected node
  • ✨ Auto-scroll to selected node functionality
  • ✨ Auto-expand ancestors when selecting a node
  • ✨ Preserves expanded state during search operations
  • ✨ SearchBar replaces TextField for better Material 3 styling
  • ✨ Added add button in search field

Breaking Changes #

  • ⚠️ TreeNode now requires an id field

0.0.1 #

Initial Release #

  • 🎉 First version of searchable_tree
  • ✨ Built-in search functionality with match highlighting
  • ✨ Expand/collapse icons placed on the right side
  • ✨ Indentation guide lines for clear hierarchy visualization
  • ✨ Text auto-wrap support for long node titles
  • ✨ Separate click events: tap text triggers node action, tap icon toggles expand
  • showSearchField parameter to enable/disable search functionality
  • ✨ Highly customizable appearance (colors, styles, indentation, etc.)
  • ✨ Node tap and expand/collapse callbacks
  • ✨ Full widget testing suite included
  • ✨ Complete example project with search toggle demonstration
0
likes
140
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A highly customizable Flutter tree view widget with built-in search support, expand/collapse functionality, and beautiful UI.

Repository (GitHub)
View/report issues

Topics

#tree #treeview #search #expandable #ui

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on searchable_tree