{"id":26821171,"url":"https://github.com/ajilo297/flutter_tree_view","last_synced_at":"2025-07-14T01:16:12.813Z","repository":{"id":52054357,"uuid":"163648172","full_name":"ajilo297/flutter_tree_view","owner":"ajilo297","description":"A Flutter package to create an easily customisable Tree View","archived":false,"fork":false,"pushed_at":"2023-08-29T17:05:55.000Z","size":91,"stargazers_count":66,"open_issues_count":12,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-28T06:45:00.109Z","etag":null,"topics":["dart","flutter","flutter-package","tree","treeview"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajilo297.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"ajiloommen","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null}},"created_at":"2018-12-31T07:19:28.000Z","updated_at":"2024-09-23T19:23:18.000Z","dependencies_parsed_at":"2025-04-24T05:38:08.633Z","dependency_job_id":null,"html_url":"https://github.com/ajilo297/flutter_tree_view","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajilo297/flutter_tree_view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilo297%2Fflutter_tree_view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilo297%2Fflutter_tree_view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilo297%2Fflutter_tree_view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilo297%2Fflutter_tree_view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajilo297","download_url":"https://codeload.github.com/ajilo297/flutter_tree_view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilo297%2Fflutter_tree_view/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265228987,"owners_count":23731092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","flutter-package","tree","treeview"],"created_at":"2025-03-30T07:18:36.281Z","updated_at":"2025-07-14T01:16:12.762Z","avatar_url":"https://github.com/ajilo297.png","language":"Dart","funding_links":["https://ko-fi.com/ajiloommen"],"categories":[],"sub_categories":[],"readme":"[![pub package](https://img.shields.io/badge/pub-0.0.5-orange.svg)](https://pub.dartlang.org/packages/tree_view)\n[![Build Status](https://travis-ci.org/ajilo297/flutter_tree_view.svg?branch=master)](https://travis-ci.org/ajilo297/flutter_tree_view)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# Tree View\nA Flutter package for a fully customisable tree view\n\n### Installing\nAdd this to your `pubspec.yaml` file\n\n```yaml\ndependencies:\n  tree_view: ^0.0.5\n```\n\nAnd run \n```sh\nflutter packages get\n```\n\n### Example\n\nLet's assume we want to show a tree view with this structure:\n\n```\nDesktop\n|-- documents\n|   |-- Resume.docx\n|   |-- Billing-Info.docx\n|-- MeetingReport.xls\n|-- MeetingReport.pdf\n|-- Demo.zip\n```\n\nIn this example\n1. `Resume.docx` and `Billing-Info.docx` are **Child** widgets with\n`documents` as the **Parent**.\n2. `documents`, `MeetingReport.xls`, `MeetingReport.xls` and `Demo.zip`\nare **Child** widgets with `Desktop` as a **Parent** widget.\n\nThe `TreeView` would look like this\n\n```dart\nvar treeView = TreeView(\n  parentList: [\n    Parent(\n      parent: Text('Desktop'),\n      childList: ChildList(\n        children: \u003cWidget\u003e[\n          Parent(\n            parent: Text('documents'),\n            childList: ChildList(\n              children: \u003cWidget\u003e[\n                Text('Resume.docx'),\n                Text('Billing-Info.docx'),\n              ],\n            ),\n          ),\n          Text('MeetingReport.xls'),\n          Text('MeetingReport.pdf'),\n          Text('Demo.zip'),\n        ],\n      ),\n    ),\n  ],\n);\n```\n\n#### Sample\n\u003ca href=\"https://imgur.com/d4n4p1b\"\u003e\u003cimg src=\"https://i.imgur.com/d4n4p1b.gif\" title=\"source: imgur.com\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajilo297%2Fflutter_tree_view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajilo297%2Fflutter_tree_view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajilo297%2Fflutter_tree_view/lists"}