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