hasTextDirectionWhere method
Expects that textDirection of Semantics matches the condition in match
.
Example usage:
spot<Semantics>().existsOnce().hasTextDirectionWhere((it) => it.equals(TextDirection.values.first));
Implementation
WidgetMatcher<Semantics> hasTextDirectionWhere(
MatchProp<TextDirection> match) {
return hasDiagnosticProp<TextDirection>('textDirection', match);
}