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