hasMaxWhere method

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

Expects that max of Slider matches the condition in match.

Example usage:

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

Implementation

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