hasSelectedWhere method
Expects that selected of ListTile matches the condition in match
.
Example usage:
spot<ListTile>().existsOnce().hasSelectedWhere((it) => it.isTrue());
Implementation
WidgetMatcher<ListTile> hasSelectedWhere(MatchProp<bool> match) {
return hasDiagnosticProp<bool>('selected', match);
}