isFocused property

  1. @override
bool get isFocused
override

Whether this element is focused.

Implementation

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