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