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 ↗