hasActiveColorWhere method

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

Expects that activeColor of Slider matches the condition in match.

Example usage:

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

Implementation

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