focusEnd method

void focusEnd()

Invokes the onFocusEnd callback when a focus gesture is finished. Therefore, this method should be called whena consecutive events ended.

Implementation

void focusEnd() {
  assert(isFocusActive, "Already focus is not enabled.");
  isFocusActive = false;
  onFocusEnd?.call();
}