hasPhysics method
Expects that physics of GridView equals (==) value
.
Example usage:
spot<GridView>().existsOnce().hasPhysics(BouncingScrollPhysics());
Implementation
WidgetMatcher<GridView> hasPhysics(ScrollPhysics? value) {
return hasDiagnosticProp<ScrollPhysics>(
'physics', (it) => value == null ? it.isNull() : it.equals(value));
}