feat: Implement autofillhints
This commit is contained in:
parent
662f8b9a03
commit
dda51b1b46
3 changed files with 17 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue