hasSecondaryActiveColor method

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

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

Example usage:

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

Implementation

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