Merge pull request #8 from Cyanose/feature/autofocus-on-login-screen
add autofocus on login screen
This commit is contained in:
commit
7c57e2b7a8
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue