withOverflow method
Creates a WidgetSelector that finds all Text where overflow equals (==) value
.
Example usage:
spot<Text>().withOverflow(TextOverflow.values.first).existsOnce();
Implementation
@useResult
WidgetSelector<Text> withOverflow(TextOverflow? value) {
return withDiagnosticProp<TextOverflow>(
'overflow', (it) => value == null ? it.isNull() : it.equals(value));
}