feat: Implement autofillhints

This commit is contained in:
Christian Pauly 2021-02-01 11:08:29 +01:00
commit dda51b1b46
3 changed files with 17 additions and 6 deletions

View file

@ -95,6 +95,7 @@ class _SignUpState extends State<SignUp> {
autocorrect: false,
controller: usernameController,
onSubmitted: (s) => signUpAction(context),
autofillHints: [AutofillHints.newUsername],
decoration: InputDecoration(
prefixIcon: Icon(Icons.account_circle_outlined),
hintText: L10n.of(context).username,