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