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