On some cases (if list is small), there is no point to do autofocus on the searchbar since the user would most likely want to click to the list directly and don't want the keyboard to appear.
Best way would be to make the autofocus by default "true" but editable in the constructors:
On some cases (if list is small), there is no point to do autofocus on the searchbar since the user would most likely want to click to the list directly and don't want the keyboard to appear.
Best way would be to make the autofocus by default "true" but editable in the constructors:
https://github.com/icemanbsi/searchable_dropdown/blob/799d871b6f82b121957ae63106156f556a7830f4/lib/searchable_dropdown.dart#L876
If needed I can do a pull request for this feature.
Without autofocus:![Screenshot_1609352650](https://user-images.githubusercontent.com/16922101/103373248-b24f5d80-4ad4-11eb-9c9a-dc49f039e498.png)
With autofocus:![Screenshot_1609352653](https://user-images.githubusercontent.com/16922101/103373275-c5fac400-4ad4-11eb-8a53-34e39a9be5f8.png)