hasSoftWrapWhere method

WidgetMatcher<Text> hasSoftWrapWhere(
  1. MatchProp<bool> match
)

Expects that softWrap of Text matches the condition in match.

Example usage:

spot<Text>().existsOnce().hasSoftWrapWhere((it) => it.isTrue());

Implementation

WidgetMatcher<Text> hasSoftWrapWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('softWrap', match);
}