withAutofillHints method
Creates a WidgetSelector that finds all EditableText where autofillHints equals (==) value
.
Example usage:
spot<EditableText>().withAutofillHints(['foo', 'bar']).existsOnce();
Implementation
@useResult
WidgetSelector<EditableText> withAutofillHints(Iterable<String>? value) {
return withDiagnosticProp<Iterable<String>>('autofillHints',
(it) => value == null ? it.isNull() : it.equals(value));
}