isFocused property
Whether the owning RenderObject currently holds the input focus.
Implementation
bool get isFocused => _flags.isFocused;Implementation
set isFocused(bool value) {
  _flags = _flags.copyWith(isFocused: value);
  _hasBeenAnnotated = true;
}