hasSecondaryActiveColorWhere method

WidgetMatcher<Slider> hasSecondaryActiveColorWhere(
  1. MatchProp<Color> match
)

Expects that secondaryActiveColor of Slider matches the condition in match.

Example usage:

spot<Slider>().existsOnce().hasSecondaryActiveColorWhere((it) => it.equals(Colors.red));

Implementation

WidgetMatcher<Slider> hasSecondaryActiveColorWhere(MatchProp<Color> match) {
  return hasDiagnosticProp<Color>('secondaryActiveColor', match);
}