hasTextDirectionWhere method

WidgetMatcher<Row> hasTextDirectionWhere(
  1. MatchProp<TextDirection> match
)

Expects that textDirection of Row matches the condition in match.

Example usage:

spot<Row>().existsOnce().hasTextDirectionWhere((it) => it.equals(TextDirection.values.first));

Implementation

WidgetMatcher<Row> hasTextDirectionWhere(MatchProp<TextDirection> match) {
  return hasDiagnosticProp<TextDirection>('textDirection', match);
}