hasSplashColorWhere method
Expects that splashColor of IconButton matches the condition in match
.
Example usage:
spot<IconButton>().existsOnce().hasSplashColorWhere((it) => it.equals(Colors.red));
Implementation
WidgetMatcher<IconButton> hasSplashColorWhere(MatchProp<Color> match) {
return hasDiagnosticProp<Color>('splashColor', match);
}