hasHoverColorWhere method

WidgetMatcher<ListTile> hasHoverColorWhere(
  1. MatchProp<Color> match
)

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);
}