add autofocus on login screen
This commit is contained in:
		
							parent
							
								
									a961580e2d
								
							
						
					
					
						commit
						949f25fd6e
					
				
					 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