搜索插件、代码仓与 APP 分类

插件详情v3.0.2

flutter_simple_treeview

一个可视化树结构的小部件,其中节点可以是任何小部件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
5860
喜欢数
194
Pub 分数
150

安装插件

flutter pub add flutter_simple_treeview

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

一个 Flutter 包,提供了一个灵活的 widget 来可视化层次结构树,其中每个节点可以是任何自定义 widget。它使开发者能够以交互式和可定制的方式在多个平台上显示嵌套数据。该树支持可展开和可折叠的节点,非常适合文件浏览器、组织结构图或任何具有父子关系的数据。由 Google 开发,可无缝集成到 Flutter 应用中,并以简单性和性能为设计目标。

适合场景

  • 文件系统导航
  • 组织架构图显示
  • 设置层次结构
  • 动态内容树
  • 数据结构可视化

主要特点

  • 可自定义的节点小部件
  • 可展开/可折叠节点
  • 跨平台支持
  • 简单 API 集成
  • 支持嵌套数据结构

适合对象

  • 开发构建层次化 UI 的开发者
  • 需要树形导航的应用程序
  • 需要动态树状渲染的项目
  • 使用 Flutter 开发多平台应用的团队
  • 具有复杂嵌套数据的 UI

使用建议

  • 性能可能在树结构非常庞大时下降
  • 需要手动管理节点状态
  • 有限的内置样式选项
  • 未针对实时更新进行优化
  • 最适合中等大小的数据集

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Build

Flutter widgets

This repository contains the source code for various Flutter widgets that are developed by Google but not by the core Flutter team.

The product and source code here are neither endorsed by Google nor the Flutter team. They are mainly made available as a reference. Support is best-effort.

Packages

Package Description Version
flutter_simple_treeview A widget, that visualises a tree structure, where a node can be any widget. pub package
linked_scroll_controller A scroll controller that allows two or more scroll views to be in sync. pub package
scrollable_positioned_list A list with helper methods to programmatically scroll to an item. pub package
self_storing_input A set of input widgets that automatically save and load the entered value to a data store. pub package
visibility_detector A widget that detects the visibility of its child and notifies a callback. pub package

Issues

Please file any issues, bugs, or feature requests in the this repo.

Contributing

If you wish to contribute a change to any of the existing widgets in this repo, please review our contribution guide, and send a pull request.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。