Merge pull request #8 from Cyanose/feature/autofocus-on-login-screen

add autofocus on login screen
This commit is contained in:
Doman 2023-08-03 21:02:34 +02:00 committed by GitHub
commit 7c57e2b7a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,6 +115,7 @@ class _LoginScreen extends State<LoginScreen> {
), ),
controller: usernameController, controller: usernameController,
autofillHints: const [AutofillHints.username], autofillHints: const [AutofillHints.username],
autofocus: true,
), ),
TextFormField( TextFormField(
obscureText: true, obscureText: true,