hasSubtitle method
Expects that subtitle of ListTile equals (==) value
.
Example usage:
spot<ListTile>().existsOnce().hasSubtitle(Container());
Implementation
WidgetMatcher<ListTile> hasSubtitle(Widget? value) {
return hasDiagnosticProp<Widget>(
'subtitle', (it) => value == null ? it.isNull() : it.equals(value));
}