whereOverflow method

  1. @useResult
WidgetSelector<Text> whereOverflow(
  1. MatchProp<TextOverflow> match
)

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

Example usage:

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

Implementation

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