whereScrollController method

  1. @useResult
WidgetSelector<EditableText> whereScrollController(
  1. MatchProp<ScrollController> match
)

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

Example usage:

spot<EditableText>().whereScrollController((it) => it.equals(ScrollController())).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereScrollController(
    MatchProp<ScrollController> match) {
  return withDiagnosticProp<ScrollController>('scrollController', match);
}