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