whereOverflow method

Creates a WidgetSelector that finds all AnyText where overflow matches the condition.

Example usage:

spot<AnyText>().whereOverflow((it) => it.equals(TextOverflow.values.first)).existsOnce();

Implementation

@useResult
WidgetSelector<AnyText> whereOverflow(MatchProp<TextOverflow> match) {
  return withDiagnosticProp<TextOverflow>('overflow', match);
}