hasScrollControllerWhere method
Expects that scrollController of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasScrollControllerWhere((it) => it.equals(ScrollController()));
Implementation
WidgetMatcher<TextField> hasScrollControllerWhere(
MatchProp<ScrollController> match) {
return hasDiagnosticProp<ScrollController>('scrollController', match);
}