dynamic_treeview
dynamic_treeview copied to clipboard
A Dynamic treeview that can be build using dynamic parent/child relationship
Fixed some stuff with the help of the migration tool and made it null safe...
I can't run `dynamic_treeview` on my system because this library does not support null safety yet. I hope next release will be supported ``` [✓] Flutter (Channel beta, 2.6.0-5.2.pre, on...
Tree View disordered if id greater than 10. I sugest you change like this: _buildTreeView() { var k = widget.data .where((data) { return data.getParentId() == widget.config.rootId; }) .map((data) { return...
Hi, nice to see this excellent library! and can all be expanded by default? thanks a lot.
OnChildrenTap is not implemented in version dynamic_treeview: 1.0.0+2 the example shows that it is there, but the version on PUb doesn't contain that update...
https://github.com/thangmam/dynamic_treeview/blob/4cc73d073cde231b559e36944ab64569da413231/lib/dynamic_treeview.dart#L332 `children: widget.children` ==> `children: shouldExpand ? widget.children : []`
Hi, I have the data coming from a webservice. If my array is declared statically it works, but if I fill it in initState and call setState() it doesnt fill....
``` Below is the code I am using: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ ListTile(...), DynamicTreeView( data: data, config: Config( parentTextStyle: kTextGreyNormal.copyWith(color: kColorPrimaryBlue), rootId: "1", childrenPaddingEdgeInsets: EdgeInsets.symmetric(vertical: 5.0,horizontal: 5.0), parentPaddingEdgeInsets: EdgeInsets.only(left:...
I want to add an element to the root, but it is perceived as a parent. Although it has no children.