focusOwner property

FocusOwner focusOwner

Implementation

FocusOwner get focusOwner {
  assert(isEditable);
  assert(!_disposed);
  if (_focusNode.hasFocus) {
    return FocusOwner.editor;
  } else if (_toolbarFocusNode?.hasFocus == true) {
    return FocusOwner.toolbar;
  } else {
    return FocusOwner.none;
  }
}