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