isFocused property

  1. @override
bool get isFocused
override

Whether this element is focused.

Implementation

@override
bool get isFocused =>
    _retryWhenStale(() => document.activeElement == _single);