Skip to content
pubscout

recursive_tree_flutter

1.0.4, released 2 years ago by gpmndev.online

A tree-view package focusing on tree data structures and UI visualization.

WASM-ready
$ flutter pub add recursive_tree_flutter
Source repository

What it does

Builds tree data structures and visualizes them as inheritance trees (stack views or expandable tree views) with built-in helper and update functions.

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

Use it when

  • You need to display hierarchical tree data structures in Flutter
  • You require custom tree-view operations like searching, single/multiple choice, and lazy loading

Skip it when

  • You are using a state management system and prefer built-in reactive tree widgets

Strengths

  • Prioritizes robust tree data structures independent of UI
  • Supports special UI styles, lazy-loading, and search operations

Weaknesses

  • Does not use a state management library out of the box, requiring manual callbacks for state updates

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
class _VTSNodeWidgetState<T extends AbsNodeType> extends State<_VTSNodeWidget> with SingleTickerProviderStateMixin, ExpandableTreeMixin<CustomNodeType> {
  @override
  initState() {
    super.initState();
    initTree();
    initRotationController();
  }
  @override
  Widget build(BuildContext context) => buildView();
}

Alternatives

Packages that do the same job and could replace recursive_tree_flutter.