whereMaxLines method

  1. @useResult
WidgetSelector<EditableText> whereMaxLines(
  1. MatchProp<int> match
)

Creates a WidgetSelector that finds all EditableText where maxLines matches the condition.

Example usage:

spot<EditableText>().whereMaxLines((it) => it.isGreaterThan(10)).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereMaxLines(MatchProp<int> match) {
  return withDiagnosticProp<int>('maxLines', match);
}