hasMaxLinesWhere method

WidgetMatcher<TextField> hasMaxLinesWhere(
  1. MatchProp<int> match
)

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);
}