My problem is that when I use the onTap function the expanded does not work, I was checking the library and I noticed that it is because of this code "instance.onTap = widget.onTap ?? () => toggleExpanded();" , however I do not know how to solve it or if there is another way to access that function from the library from the widget. Any ideas.
https://stackoverflow.com/questions/70221079/how-use-ontap-function-of-treeview-library-flutter
My problem is that when I use the onTap function the expanded does not work, I was checking the library and I noticed that it is because of this code "instance.onTap = widget.onTap ?? () => toggleExpanded();" , however I do not know how to solve it or if there is another way to access that function from the library from the widget. Any ideas.
https://stackoverflow.com/questions/70221079/how-use-ontap-function-of-treeview-library-flutter