onHide property
Callback when tooltip is hidden.
Not called when the tooltip leaves the tree while it is shown: when its
row is removed, its Parent collapses, or tooltipBuilderResolver stops
returning content for its Node. The tooltip closes at once. With
enableTap, a label tap whose onNodeTap makes that happen calls
neither onShow nor onHide, since onShow comes after the first frame
the tooltip is drawn in.
Implementation
final VoidCallback? onHide;