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