hasInactiveColorWhere method

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

Expects that inactiveColor of Slider matches the condition in match.

Example usage:

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

Implementation

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