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