hasMax method
Expects that max of Slider equals (==) value
.
Example usage:
spot<Slider>().existsOnce().hasMax(10.5);
Implementation
WidgetMatcher<Slider> hasMax(double? value) {
return hasDiagnosticProp<double>(
'max', (it) => value == null ? it.isNull() : it.equals(value));
}