Skip to content

Commit

Permalink
Autofocus if search is clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
normade committed Dec 19, 2022
1 parent 3a318d5 commit 7c03b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/widgets/custom_search_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class CustomSearchBarState extends ConsumerState<CustomSearchBar> {
),
border: InputBorder.none,
),
autofocus:true,
style: const TextStyle(
color: Colors.white,
),
Expand Down

0 comments on commit 7c03b8d

Please # to comment.