hasSplashColor method
Expects that splashColor of IconButton equals (==) value
.
Example usage:
spot<IconButton>().existsOnce().hasSplashColor(Colors.red);
Implementation
WidgetMatcher<IconButton> hasSplashColor(Color? value) {
return hasDiagnosticProp<Color>(
'splashColor', (it) => value == null ? it.isNull() : it.equals(value));
}