whereFocusNode method
Creates a WidgetSelector that finds all ElevatedButton where focusNode matches the condition.
Example usage:
spot<ElevatedButton>().whereFocusNode((it) => it.equals(FocusNode())).existsOnce();
Implementation
@useResult
WidgetSelector<ElevatedButton> whereFocusNode(MatchProp<FocusNode> match) {
return withDiagnosticProp<FocusNode>('focusNode', match);
}