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