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