hasMaxLinesWhere method
Expects that maxLines of Text matches the condition in match
.
Example usage:
spot<Text>().existsOnce().hasMaxLinesWhere((it) => it.isGreaterThan(10));
Implementation
WidgetMatcher<Text> hasMaxLinesWhere(MatchProp<int> match) {
return hasDiagnosticProp<int>('maxLines', match);
}