AutofillScope class Null safety
An ordered group within which AutofillClients are logically connected.
AutofillClients within the same AutofillScope are isolated from other input fields during autofill. That is, when an autofillable TextInputClient gains focus, only the AutofillClients within the same AutofillScope will be visible to the autofill service, in the same order as they appear in AutofillScope.autofillClients.
AutofillScope also allows TextInput to redirect autofill values from the platform to the AutofillClient with the given identifier, by calling AutofillScope.getAutofillClient.
An AutofillClient that's not tied to any AutofillScope will only participate in autofill if the autofill is directly triggered by its own TextInputClient.
The collection of
AutofillClients currently tied to this AutofillScope.read-only
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
TextInputClient trigger, TextInputConfiguration configuration) → TextInputConnection
- Allows a TextInputClient to attach to this scope. This method should be called in lieu of TextInput.attach, when the TextInputClient wishes to participate in autofill.
String autofillId) → AutofillClient?
Gets the AutofillScope associated with the given
autofillId, in this AutofillScope.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.