Flutter Tutorial - AutoComplete TextField & AutoComplete Search TextField With JSON Data

Flutter Tutorial - AutoComplete TextField & AutoComplete Search TextField With JSON Data

HeyFlutter․com

3 года назад

47,941 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@manishadharmik233
@manishadharmik233 - 06.03.2023 09:59

Only first time when opening app or after installing it is working and 2nd time it' is not showing list is there where to apply set state or anything plz help me

Ответить
@bestmindcoolingrelaxationm1084
@bestmindcoolingrelaxationm1084 - 27.02.2023 18:13

Hello brother please help me to query data from mysql table based on substring input by a user for example if he type 'joh' and in the table we have ''johannes mike'' it should retrieve that row only.

Ответить
@danieloliveira4744
@danieloliveira4744 - 25.01.2023 04:05

Great video!!!

It is possible to do something like:
Suggestions:
...
List of suggestions here
...

I'm trying, but because its itemBuilder, the "Suggestions:" also enter in the loop

Ответить
@Emir-nn1xc
@Emir-nn1xc - 21.01.2023 19:57

I am using the flutter_typeahead package. When I use this package to search for something, it shows me some results related to what I searched for. However, when using this package on physical devices, the last option that appears is not being clicked. For example, if I search for "A", the results that appear are "A", "AA", "AAA", but when I try to click on "AAA" on my physical device, it is not being clicked, but it can be clicked on the emulator. Also, even when there is only one result, the problem of not being able to click on the last content still occurs.

Ответить
@erictiobo9187
@erictiobo9187 - 07.12.2022 11:56

hello sir and really thank you for everything you do!!.. I am currently working on a form and I would like after a period of time to automatically send the user's information without having to click on a button, would you have an idea or a course that I could consult?? please!! thank you and have a good day

Ответить
@001Debjeet
@001Debjeet - 17.08.2022 10:44

typeahead still doesnot support web :(

Ответить
@antonioguilherme1844
@antonioguilherme1844 - 12.08.2022 14:15

tooppp

Ответить
@nhatlevuminh7031
@nhatlevuminh7031 - 02.08.2022 09:25

Flutter has itself Autocomplete widget. Can you make a video about it?

Ответить
@naveedkaimkhami2695
@naveedkaimkhami2695 - 19.07.2022 23:21

You man doing great!!!

Ответить
@aliounesakho8582
@aliounesakho8582 - 20.06.2022 10:43

Hi johannes thanks u. I struggle on trying to hide suggestions by pressing an arrow back iconbutton with prefixIcon textfield property but want to maintain the hidesuggestiononkeyboardhide : false . I tried suggestionboxcontroller.close(); when pressing prefixIcon but nothing happened. I you can help me on this please 🙏 😥

Ответить
@rahulpathak9208
@rahulpathak9208 - 16.04.2022 14:03

thanks ur code saved life

Ответить
@vipinkrishna131
@vipinkrishna131 - 12.04.2022 15:06

really helpful!

Ответить
@rizalfahlevi5720
@rizalfahlevi5720 - 04.04.2022 07:06

hello Johannes. i'm use TypeAhead and working normal when I input manual from keyboard , but when try scan value from barcode scanner its not working (value scanner not display on textfield and out focus). please help me

Ответить
@hamzaibrahim895
@hamzaibrahim895 - 17.02.2022 23:27

Amazing!
Thank you man

Ответить
@melomanzer5508
@melomanzer5508 - 11.02.2022 14:41

Hola, Does it work on web too ?

Ответить
@agung_laksana
@agung_laksana - 28.01.2022 02:21

Johannes, You are awesome. Thank you very much for all your helpful videos !

Ответить
@juice_67
@juice_67 - 21.01.2022 01:16

Amazing tutorial man!

Ответить
@DanVanDamme
@DanVanDamme - 09.01.2022 23:50

Great tutorial Johannes! Thank you! Can this plugin also be used to autocomplete from a firebase database?

Ответить
@mohamedmahadfarah4057
@mohamedmahadfarah4057 - 31.12.2021 07:55

You got +1 Subscriber ❤

Ответить
@elorjsm2420
@elorjsm2420 - 16.11.2021 17:46

Thank you so much Mike. I want you to do a video on how to integrate algolia in flutter and dart

Ответить
@GauthierAbdala
@GauthierAbdala - 28.10.2021 23:29

Very instructive video, thanks. I was wondering, is it possible to actually update the pattern with the suggestion clicked by the user? I have been trying that out with no luck

Ответить
@benammarraouf3363
@benammarraouf3363 - 05.10.2021 17:21

how can i show the suggestion box above the textfield ?

Ответить
@d.i.y.tostayinsynconthego7937
@d.i.y.tostayinsynconthego7937 - 02.10.2021 02:54

How can I handle querying the text entered by user in first_name, last_name & user_name altogether? I'd like to search after the user types @, so the logic can work in chat applications, when I want to tag users. Thanks!

Ответить
@Ravigupta-tu8rr
@Ravigupta-tu8rr - 30.09.2021 13:34

Thank you Johannes for your all videos as all's videos are amazing.
This video is also amazing but please make a video with auto complete google places.
I hope you will make video and I will wait for your response on it.
Thank you.

Ответить
@achyut_ft
@achyut_ft - 08.09.2021 11:12

Thanks for the tutorial bro

Ответить
@fajar2742
@fajar2742 - 12.08.2021 06:30

bro, can you help me ?
how to show the loading progress everytime the user is typing ? i want user to know if they're typing the app send request to server .

edited :
i just found out how to do this haha.

keepSuggestionsOnLoading: false

great tutorial broo . thanks btw

Ответить
@josemiranda7386
@josemiranda7386 - 05.08.2021 17:50

THANK YOU SOOOOOOOOOOOOOOO MUCH

Ответить
@dennyraymond7505
@dennyraymond7505 - 04.08.2021 13:51

I have a problem when using this package for flutter web in mobile view, when i tapped the textfield the keyboard showed and got dismissed, do you know what can cause this problem?

Ответить
@painfulmemories168
@painfulmemories168 - 01.08.2021 00:50

Thanks a lot, <3

Ответить
@gameplaystrailers7797
@gameplaystrailers7797 - 03.07.2021 19:38

Forgive me for asking such basic question but I’m very new and dart is my first language but could you explain in words what does

User.map((json) => user.fromJson(json)).where((user){}) actually means ?

I’m very nee so simple worded detailed answer would be so much appreciated

Ответить
@namanvaishnav6193
@namanvaishnav6193 - 01.07.2021 20:08

Man you're awesome, Thanks

Ответить
@kentthomas1045
@kentthomas1045 - 20.06.2021 09:42

what if the user inputs something that isn't in the autocomplete suggestions?

Ответить
@hoangtri9569
@hoangtri9569 - 18.06.2021 07:16

lmao, I searched for "username suggestion" all day long, then I tried changing it to "suggested username". Guess what, I've got a great video here, keep it up Johannes.

Ответить
@shazeemashar9869
@shazeemashar9869 - 07.06.2021 12:39

Hey Milke, its a great video i was looking for. But how can we handle it if the data is coming from firebase firestore.

Ответить
@hadikhan1813
@hadikhan1813 - 02.06.2021 21:25

Nice video. Although you're going very fast at it. These kind of video require explanation. Great work keep it up.

Ответить
@MisterNorthernCanuck
@MisterNorthernCanuck - 16.05.2021 02:00

Your content is stellar. Just curious, any way you can add secton headers for sorting? Let's say I want to order the suggestions and display
A
---
Alex
Abby
B
---
Bob
Ben

I know this is supported out of the box in React with Material components, but I'm not convinced with Flutter.

Ответить
@veedextechsolutions
@veedextechsolutions - 08.05.2021 14:38

Many thanks for this tutorial. I wish I knew how to incorporate this in a website.

Ответить
@uududududf3880
@uududududf3880 - 03.05.2021 11:21

not working my sdk is 2.7.0 do i really need to upgrade to 2.12? i got so many errors when i try updating my sdk

Ответить
@sumanmanna6297
@sumanmanna6297 - 12.04.2021 19:11

Excellent 😎..

Ответить
@NajeebAslan
@NajeebAslan - 12.04.2021 04:37

You are greate

Ответить
@RandalLSchwartz
@RandalLSchwartz - 29.03.2021 03:31

It's a missed opportunity that you didn't explain that the "TypeAhead" package is misnamed. You're talking properly about Autocomplete (provide possible additional characters based on a search space to permit abbreviations for common input text). Typeahead is a system that accepts characters from the keyboard ahead of them being able to be processed, and is such a natural flow these days that it's not seen as something that even needs a name, but clearly "TypeAhead" is nothing like "Autocomplete".

Ответить
@VongsiLoryongpao
@VongsiLoryongpao - 28.03.2021 17:16

Good one, loved it.

Ответить
@gumdum6764
@gumdum6764 - 22.03.2021 22:56

Thank you Johannes for the streighforward and informative explanation. Not only did I learn about Autocomplete package, I learnt about the Faker package! I bet it would go great with pagination_view 😎
Excellent work and code, thank you for sharing! 🤩🥳

Ответить
@faisalahmad1934
@faisalahmad1934 - 22.03.2021 21:35

Awesome tutorial I was just thinking about it, Johannes can you please make a new tutorial for push notifications using firebase cloud functions and cloud messaging, your old tutorial uses some functions which have been deprecated. and the documentation on flutter fire site is just plain horrible.
Thanks for saving our careers.

Ответить