Skip to content
pubscout

flutter_simple_treeview

3.0.2, released 4 years ago by google.dev

A widget that visualises a tree structure, where a node can be any widget.

WASM-readyRepository archivedQuiet but busy
$ flutter pub add flutter_simple_treeview
Source repository

What it does

Provides a TreeView widget to display hierarchical tree structures in Flutter. Nodes within the tree can be represented by any custom widget.

AI-written summary of version 3.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display hierarchical data or file systems as a tree
  • You want custom widgets to act as tree nodes

Skip it when

  • You require complex virtualized tree lists with thousands of items
  • You need built-in advanced drag-and-drop tree editing

Strengths

  • Simple and straightforward to set up
  • Allows any widget to be used as a tree node

Weaknesses

  • Limited advanced features compared to dedicated enterprise tree packages
  • Minimal documentation and features beyond basic tree display

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
TreeView(nodes: [
  TreeNode(content: Text("root1")),
  TreeNode(
    content: Text("root2"),
    children: [
      TreeNode(content: Text("child21")),
    ],
  ),
])

Alternatives

Packages that do the same job and could replace flutter_simple_treeview.