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