hasHighlightColor method

WidgetMatcher<IconButton> hasHighlightColor(
  1. Color? value
)

Expects that highlightColor of IconButton equals (==) value.

Example usage:

spot<IconButton>().existsOnce().hasHighlightColor(Colors.red);

Implementation

WidgetMatcher<IconButton> hasHighlightColor(Color? value) {
  return hasDiagnosticProp<Color>('highlightColor',
      (it) => value == null ? it.isNull() : it.equals(value));
}