whereScrollPhysics method

  1. @useResult
WidgetSelector<TextField> whereScrollPhysics(
  1. MatchProp<ScrollPhysics> match
)

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

Example usage:

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

Implementation

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