isFocused property
Whether the owning RenderObject currently holds the user's focus.
Implementation
bool get isFocused => _hasFlag(SemanticsFlag.isFocused);
Implementation
set isFocused(bool value) {
_setFlag(SemanticsFlag.isFocused, value);
}