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