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