hasFocusNodeWhere method
Expects that focusNode of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasFocusNodeWhere((it) => it.equals(FocusNode()));
Implementation
WidgetMatcher<TextField> hasFocusNodeWhere(MatchProp<FocusNode> match) {
return hasDiagnosticProp<FocusNode>('focusNode', match);
}