whereAutofocus method

Creates a WidgetSelector that finds all SelectableText where autofocus matches the condition.

Example usage:

spot<SelectableText>().whereAutofocus((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<SelectableText> whereAutofocus(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('autofocus', match);
}