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