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