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