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