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