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