whereTextDirection method
Creates a WidgetSelector that finds all TextField where textDirection matches the condition.
Example usage:
spot<TextField>().whereTextDirection((it) => it.equals(TextDirection.values.first)).existsOnce();
Implementation
@useResult
WidgetSelector<TextField> whereTextDirection(MatchProp<TextDirection> match) {
return withDiagnosticProp<TextDirection>('textDirection', match);
}