Widgets You Should Know: Tree View

Fred Grott
5 min readFeb 23, 2022

One of the special List Views that you will run into with data is tree view. It just so happens this is another widget not provided by the Flutter SDK. Let me show you how to use it.

Tree View Setup

Flutter simple tree view was created by non Flutter SKD Team Google Employees:

It’s a special way to view complex data that will have nodes of interest to the app user:

You include in your pubspec:

dependencies:

flutter_simple_treeview: ^3.0.1

And you use it by either, creating a controller or a json object:

--

--