hasFocus top-level property

_HasFocusMatcher hasFocus
final

Matches a focused (focusable) widget.

Implementation

final hasFocus = _HasFocusMatcher(true);