onPressed property
Callback fired when the icon is pressed.
When the node has children, it is automatically expanded/collapsed and this callback is called right after it.
Implementation
final VoidCallback? onPressed;
Callback fired when the icon is pressed.
When the node has children, it is automatically expanded/collapsed and this callback is called right after it.
final VoidCallback? onPressed;