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