whereFocusNode method

Creates a WidgetSelector that finds all TextField where focusNode matches the condition.

Example usage:

spot<TextField>().whereFocusNode((it) => it.equals(FocusNode())).existsOnce();

Implementation

@useResult
WidgetSelector<TextField> whereFocusNode(MatchProp<FocusNode> match) {
  return withDiagnosticProp<FocusNode>('focusNode', match);
}