hasInactiveColor method

WidgetMatcher<Slider> hasInactiveColor(
  1. Color? value
)

Expects that inactiveColor of Slider equals (==) value.

Example usage:

spot<Slider>().existsOnce().hasInactiveColor(Colors.red);

Implementation

WidgetMatcher<Slider> hasInactiveColor(Color? value) {
  return hasDiagnosticProp<Color>('inactiveColor',
      (it) => value == null ? it.isNull() : it.equals(value));
}