hasExpandsWhere method

WidgetMatcher<TextField> hasExpandsWhere(
  1. MatchProp<bool> match
)

Expects that expands of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasExpandsWhere((it) => it.isTrue());

Implementation

WidgetMatcher<TextField> hasExpandsWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('expands', match);
}