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