flutter_tree_pro
0.0.15, released 6 months ago by an unverified publisher
Flutter widget for selectable tree structures with RTL support.
WASM-ready
What it does
Provides a tree view where users can select nodes, with optional multi‑select and drag‑and‑drop reordering. Supports right‑to‑left layouts and configurable data sources.
AI-written summary of version 0.0.15, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a hierarchical list with selectable items
- You require drag‑and‑drop reordering of tree nodes
- Your UI must support RTL languages
Skip it when
- You need massive data sets with virtual scrolling
- You require highly custom node rendering beyond provided config
Strengths
- Built‑in drag‑and‑drop hierarchy reordering
- RTL support out of the box
- Simple API for list or map data sources
Weaknesses
- Limited styling/customization options
- No virtualized scrolling for large trees
- No code‑generation or advanced state management integration
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('Flutter tree pro')),
body: FlutterTreePro(
listData: treeListData,
initialListData: initialTreeData,
config: Config(parentId: 'parentId', dataType: DataType.DataList, label: 'value'),
onChecked: (List<Map<String,dynamic>> checked) {},
),
);
}Alternatives
Packages that do the same job and could replace flutter_tree_pro.
- country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - json_view
A Flutter widget for previewing and viewing JSON data with lazy loading.
50Compare - cr_json_widget
A Flutter widget that visualizes JSON data and tree structures.
47Compare - expandable_tree_menu
Tree menu widget with expandable/collapsible nodes
39Compare