I'm using this package for an application that i'm developing. I found it useful and I tried to improve it a little bit.
This PR contains:
A placeholder for the search filter. Now you can add a placeholder text by passing a custom string in the treeview constructor by the filterPlaceholder variable.
The Icon aside the data is dynamic. What it means is that before of this PR it appears also if the node doesn't contains children and also if the load function returns an empty list. Now you can see that if there is an empty node the icon will not appear and if the results of a load are none it disappears.
Change the _isExpaned to _isExpanded.
Change expaned to expanded.
Filter system is now case insensitive.
Filter function does now look into widget.data instead of temporany list to avoid lost of data meanwhile you're looking for something.
Hi!
I'm using this package for an application that i'm developing. I found it useful and I tried to improve it a little bit.
This PR contains:
I hope this can be useful for someone :)