whereMaxLines method
Creates a WidgetSelector that finds all TextField where maxLines matches the condition.
Example usage:
spot<TextField>().whereMaxLines((it) => it.isGreaterThan(10)).existsOnce();
Implementation
@useResult
WidgetSelector<TextField> whereMaxLines(MatchProp<int> match) {
return withDiagnosticProp<int>('maxLines', match);
}