whereFocusNode method

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

Example usage:

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

Implementation

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