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