focusStart method

void focusStart()

Invokes the onFocusStart callback when a focus gesture is initiated. Therefore, this method should be called when consecutive events started.

Implementation

void focusStart() {
  assert(isFocusActive == false, "Already focus is enabled.");
  isFocusActive = true;
  onFocusStart?.call();
}