withHighlightColor method
Creates a WidgetSelector that finds all IconButton where highlightColor equals (==) value
.
Example usage:
spot<IconButton>().withHighlightColor(Colors.red).existsOnce();
Implementation
@useResult
WidgetSelector<IconButton> withHighlightColor(Color? value) {
return withDiagnosticProp<Color>('highlightColor',
(it) => value == null ? it.isNull() : it.equals(value));
}