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