hasMinLinesWhere method

WidgetMatcher<SelectableText> hasMinLinesWhere(
  1. MatchProp<int> match
)

Expects that minLines of SelectableText matches the condition in match.

Example usage:

spot<SelectableText>().existsOnce().hasMinLinesWhere((it) => it.isGreaterThan(10));

Implementation

WidgetMatcher<SelectableText> hasMinLinesWhere(MatchProp<int> match) {
  return hasDiagnosticProp<int>('minLines', match);
}