hasSoftWrap method

WidgetMatcher<Text> hasSoftWrap(
  1. bool? value
)

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));
}