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