Context

On many platforms, autofill services are capable of
autofilling multiple input fields in a single autofill attempt.
For example, username fields and password fields can usually
be autofilled in one go. For this reason, a Flutter input
field that is about to trigger autofill should also provide
the platform with information about other autofillable input
fields logically connected to it.
TextInputClient.currentAutofillScope defines the group of
input fields that are logically connected to this TextInputClient,
and can be autofilled together.

Description of change

TextInputClient now has an additional getter that returns
the AutofillScope that this client belongs to.
This getter is used by the input client to collect autofill
related information from other autofillable input fields
within the same scope.

abstract

class

TextInputClient

AutofillScope

get

currentAutofillScope