Skip to content

Commit 4fc28a2

Browse files
committed
AutoFocus for better UX
1 parent 3b20faf commit 4fc28a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class _MyHomePageState extends State<MyHomePage> {
8484
decoration: InputDecoration(
8585
border: OutlineInputBorder(),
8686
hintText: 'Type Here',
87+
autofocus:true;
8788
),
8889
onSubmitted: (value) {
8990
setState(() {

0 commit comments

Comments
 (0)