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