hasOverflowWhere method

WidgetMatcher<Text> hasOverflowWhere(
  1. MatchProp<TextOverflow> match
)

Expects that overflow of Text matches the condition in match.

Example usage:

spot<Text>().existsOnce().hasOverflowWhere((it) => it.equals(TextOverflow.values.first));

Implementation

WidgetMatcher<Text> hasOverflowWhere(MatchProp<TextOverflow> match) {
  return hasDiagnosticProp<TextOverflow>('overflow', match);
}