hasAutofocus method
Expects that autofocus of ListTile equals (==) value
.
Example usage:
spot<ListTile>().existsOnce().hasAutofocus(true);
Implementation
WidgetMatcher<ListTile> hasAutofocus(bool? value) {
return hasDiagnosticProp<bool>(
'autofocus', (it) => value == null ? it.isNull() : it.equals(value));
}