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