hasSoftWrap method
Expects that softWrap of Text equals (==) value
.
Example usage:
spot<Text>().existsOnce().hasSoftWrap(true);
Implementation
WidgetMatcher<Text> hasSoftWrap(bool? value) {
return hasDiagnosticProp<bool>(
'softWrap', (it) => value == null ? it.isNull() : it.equals(value));
}