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