Skip to content

Flutter Widget allowing you to easily create a tree-structure "menu" from a recursive list of data nodes

License

Notifications You must be signed in to change notification settings

Tahaan/expandable_tree_menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expandable_tree_menu

A Tree of Sub-menus that can be expanded/collapsed and each node can recursively contain another tree.

Using the onSelect callback allows the Tree to be used as a menu.

Getting Started

Add the dependency to the pubspec.yaml file

dependencies: ... expandable_tree_menu: ^0.1.0

Import it

import 'package:expandable_tree_menu/expandable_tree_menu.dart';

Instantiate it somewhere

ExpandableTree( nodes: _nodesFromBooks(bookNodes), nodeBuilder: _nodeBuilder, onSelect: (dynamic node) => _nodeSelected(context, node), ),

About

Flutter Widget allowing you to easily create a tree-structure "menu" from a recursive list of data nodes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages