closeEditing method

void closeEditing()

Closes the editing if any.

Implementation

void closeEditing() {
  edit.value?.field.focus.removeListener(_stopTypingOnUnfocus);
  edit.value?.onClose();
  edit.value = null;
}