flat_tree
Flat widget tree
Purpose
Usually Flutter widgets tree code looks somewhere like this:
![](https://github.com/sla-000/flutter_flat_tree/raw/master/doc/classic.png)
A number of indents and a long list of closing "),),),"
My main purpose was to decrease code size and add code readability. This package can do it in some cases. Take a look:
![](https://github.com/sla-000/flutter_flat_tree/raw/master/doc/flat_tree.png)
Tree hierarchy was reduced to simple list.
Example
Please check example and learn how to use widget:
![](https://github.com/sla-000/flutter_flat_tree/raw/master/doc/example.png)