hasSecondaryTrackValue method

WidgetMatcher<Slider> hasSecondaryTrackValue(
  1. double? value
)

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));
}