v0.1.0-dev.5expandable_tree_menu
再帰的なノードリストから構築された、展開/折りたたみ可能なメニュー・ノードのツリー。
再帰的なデータノードのリストから簡単にツリー構造の「メニュー」を作成できるFlutterウィジェット
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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.
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), ),
依存関係一覧 3 件
{"sdk":"flutter"}{"sdk":"flutter"}^1.11.0用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗