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