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