Once I’m on the login kind, I get an account suggestion to autocomplete. However after I choose it, the Textfields usually are not crammed.
Unusually, after I go to the passwords menu and choose the identical account that was recommended, it really works.
I’ve already examined it on iPad and iPhone, and the conduct is similar.
Code
return const Scaffold(
physique: Middle(
baby: AutofillGroup(
baby: SizedBox(
width: 350,
baby: Column(
mainAxisSize: MainAxisSize.min,
youngsters: [
TextField(
autofillHints: [AutofillHints.username],
ornament: InputDecoration(hintText: "Username"),
),
TextField(
obscureText: true,
autofillHints: [AutofillHints.password],
ornament: InputDecoration(hintText: "Password"),
),
ElevatedButton(
onPressed: TextInput.finishAutofillContext,
baby: Textual content("Log In")
)
],
),
)
),
),
);