hasTitleWhere method
Expects that title of ListTile matches the condition in match
.
Example usage:
spot<ListTile>().existsOnce().hasTitleWhere((it) => it.equals(Container()));
Implementation
WidgetMatcher<ListTile> hasTitleWhere(MatchProp<Widget> match) {
return hasDiagnosticProp<Widget>('title', match);
}