isFocused property

bool? get isFocused

Whether the owning RenderObject currently holds the input focus.

Implementation

bool? get isFocused => _flags.isFocused.toBoolOrNull();
set isFocused (bool? value)

Implementation

set isFocused(bool? value) {
  _flags = _flags.copyWith(isFocused: _tristateFromBoolOrNull(value));
  _hasBeenAnnotated = true;
}