hasValueWhere method

WidgetMatcher<Slider> hasValueWhere(
  1. MatchProp<double> match
)

Expects that value of Slider matches the condition in match.

Example usage:

spot<Slider>().existsOnce().hasValueWhere((it) => it.isGreaterThan(10.5));

Implementation

WidgetMatcher<Slider> hasValueWhere(MatchProp<double> match) {
  return hasDiagnosticProp<double>('value', match);
}