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