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