onSystemHide property
final
Called when the system has hidden the context menu.
For example, tapping outside of the context menu typically causes the system to hide it directly. Flutter is made aware that the context menu is no longer visible through this callback.
This is not called when showing a new system context menu causes another to be hidden.
Implementation
final VoidCallback? onSystemHide;