handleHoverExit method Null safety

  1. @protected
  2. @mustCallSuper
void handleHoverExit(
  1. PointerExitEvent event
)

Initiates the fade out animation.

Can be overridden by subclasses to respond to a PointerExitEvent.

Implementation

@protected
@mustCallSuper
void handleHoverExit(PointerExitEvent event) {
  _hoverIsActive = false;
  _maybeStartFadeoutTimer();
}