onClose method

  1. @override
void onClose()
override

Ensure the tooltip is deactivated when the popup closes.

This is necessary because the popup can close itself and has no concept of tooltip activate / deactivate.

Implementation

@override
void onClose() {
  super.onClose();
  hideTooltip(immediate: true);
}