whereScrollDirection method
Creates a WidgetSelector that finds all GridView where scrollDirection matches the condition.
Example usage:
spot<GridView>().whereScrollDirection((it) => it.equals(Axis.values.first)).existsOnce();
Implementation
@useResult
WidgetSelector<GridView> whereScrollDirection(MatchProp<Axis> match) {
return withDiagnosticProp<Axis>('scrollDirection', match);
}