hasDivisionsWhere method

WidgetMatcher<Slider> hasDivisionsWhere(
  1. MatchProp<int> match
)

Expects that divisions of Slider matches the condition in match.

Example usage:

spot<Slider>().existsOnce().hasDivisionsWhere((it) => it.isGreaterThan(10));

Implementation

WidgetMatcher<Slider> hasDivisionsWhere(MatchProp<int> match) {
  return hasDiagnosticProp<int>('divisions', match);
}