hasFocus property

bool get hasFocus

Implementation

bool get hasFocus {
  if (!isMounted) {
    return false;
  }
  return _focusNode?.hasFocus == true;
}