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