flutter_tree_view icon indicating copy to clipboard operation
flutter_tree_view copied to clipboard

Show widget when a node (without children) is expanded

Open Uche01 opened this issue 9 months ago • 1 comments

I think it'd be nice to show an optional widget on node expansion when node's children is empty.

Use case: I need to show a button to add child for the root node when the root node is expanded. I tried a hack of replacing the root node with a custom expandable widget, but this came at the expense of not been able to access the root node's properties.

Uche01 avatar May 27 '24 21:05 Uche01