hasStyle method
Expects that style of ListTile equals (==) value
.
Example usage:
spot<ListTile>().existsOnce().hasStyle(ListTileStyle.values.first);
Implementation
WidgetMatcher<ListTile> hasStyle(ListTileStyle? value) {
return hasDiagnosticProp<ListTileStyle>(
'style', (it) => value == null ? it.isNull() : it.equals(value));
}