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