Skip to content

Simplified API

Pre-release
Pre-release
Compare
Choose a tag to compare
@baumths baumths released this 17 May 18:00
· 70 commits to main since this release
2f6ffab
Simplifies the TreeView API (#8)

* Simplification of the TreeView API

Dropped TreeViewController and merged
it's logic into TreeViewState to make the
code less 'spaghetti'. Instead of the
controller, use a [GlobalKey<TreeViewState>]
to control the TreeView for now on.

Added scrollController optional property to
TreeView and new scrolling functionality.

Renamed ScopedTreeNode to TreeNodeScope and
InheritedTreeView to _TreeViewScope.

Dropped reversedSubtreeGenerator as it was
not being used.

* Fixes tests

* Example: Catches up with the changes

* Bump version to 0.4.0