get

currentAutofillScope

null

If multifield autofill support is desirable, a common
AutofillScope to use is the AutofillGroup widget.
To get the closest AutofillGroup widget to the text
input, use AutofillGroup.of(context):

class

CustomTextFieldState

extends

State

CustomTextField

implements

TextInputClient

AutofillScope

get

currentAutofillScope

AutofillGroup

of

context

);

For more information, see AutofillGroup.

Timeline

Landed in version: 1.18.0
In stable release: 1.20

References

API documentation:

AutofillGroup