whereScrollPhysics method

Creates a WidgetSelector that finds all EditableText where scrollPhysics matches the condition.

Example usage:

spot<EditableText>().whereScrollPhysics((it) => it.equals(BouncingScrollPhysics())).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereScrollPhysics(
    MatchProp<ScrollPhysics> match) {
  return withDiagnosticProp<ScrollPhysics>('scrollPhysics', match);
}