whereTextAlign method

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

Example usage:

spot<TextField>().whereTextAlign((it) => it.equals(TextAlign.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<TextField> whereTextAlign(MatchProp<TextAlign> match) {
  return withDiagnosticProp<TextAlign>('textAlign', match);
}