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