It would be nice that we could find result by typing not just the start of the string. For example I should be able to find "Chocolate" by typing "colate". Edit: got it, .contains instead of .startsWith
@internetcollections64534 жыл бұрын
You can use it... I have also used .contains and working correctly
@SyedHaroon7863 жыл бұрын
you can do loadFoodItems().where((obj) => obj.title.toLowerCase().startsWith(query.toLowerCase())).toList();
@saileshverma19424 жыл бұрын
great video really save my day thanku
@catarinamoita39903 жыл бұрын
awesome video!!! thank you very much super helpful
@producernemo70354 жыл бұрын
I'd love it btw if you'd make another short video about how to buildresult for this search!
@MayuriRuparelTech4 жыл бұрын
Ok 👍 Thank you for suggesting 👍
@adrianstivendiazvelasco41433 жыл бұрын
just amazing thank you so much you helped me alot, hi from colombia
@harshaharshi72694 жыл бұрын
Good
@sreeragkm28474 жыл бұрын
@8:12 at this time not showing the list, and no errors🤷♂️🤷♂️🤷♂️ but why?
@Jockcityfounder4 жыл бұрын
Love the explanation. Can you please do a video using Map class with the searchDelegate?
@drronyvincent4 жыл бұрын
How can we use it with firebase???
@javedshaikh21944 жыл бұрын
Nice tutorial
@MayuriRuparelTech4 жыл бұрын
Thank you
@producernemo70354 жыл бұрын
Beautiful Explanation btw! Great video
@MayuriRuparelTech4 жыл бұрын
Thanks
@ni_kabiu_john4 жыл бұрын
Hey Mayuri.. nice tutorial
@theinquisitor95403 жыл бұрын
im getting my data from json any tips to get the json file to my buildseugestion list
@shahrukhrizan19183 жыл бұрын
how to use the buildResult from SearchDelegate to get item that already been make?
@fcojara20004 жыл бұрын
Hi, How to use SearchDelegate with Provider? for return value of var Query??.... thanks for everything
@producernemo70354 жыл бұрын
the search doesnt work when i earch with lowercase characters. How do I make the search work for both lower and upper case characters?
@MayuriRuparelTech4 жыл бұрын
Yes, you can convert both strings to lowercase or uppercase using the functions in dart to solve this issue. For example, you can replace the first line in buildSuggestions function, it will work. final mylist = query.isEmpty? loadFoodItem() : loadFoodItem().where((p)=> p.title.toLowerCase().startsWith(query.toLowerCase())).toList(); Hope it helps. Thank you
@producernemo70354 жыл бұрын
@@MayuriRuparelTech wow thank you for the quick response! I found out I could use the => p.title.toLowerCase()startsWith ..... Didnt know I Could use the 'toLowerCase()' on query aswell! Thank you so much!! Oh and found a little tip aswell for others working on a search function: Instead of using the " .startsWith" in p.title.toLowerCase().startsWith(query.toLowerCase())).toList(); You can use the " .contains" so it becomes: p.title.toLowerCase().contains(query.toLowerCase())).toList(); This way the search must contain your query instead of only starting with. Found this be really usefull in my search. Anyways thank you Reeva! I really appreciate your video's, youve got yourself a new sub!! Cheers, Nemo
@MayuriRuparelTech4 жыл бұрын
Thats good! Thank you Btw my name is Mayuri 😊😊😊
@producernemo70354 жыл бұрын
@@MayuriRuparelTech ahh sorry, well nice to know you Mayuri!
@bricegnanago4094 жыл бұрын
@@producernemo7035 yes
@marco_di3 жыл бұрын
great tutorial ... as a continuation of your local json tutorial, with a routing to a detail page, it would be an example from real life
@pritamkashyap40774 жыл бұрын
Really helpful. Thanks!
@mrnoobs74713 жыл бұрын
Nice video. How can I get the code
@redzip20033 жыл бұрын
could you please make video for datatable+mysql+crud operation in flutter
@acyutanand4 жыл бұрын
very good
@erperejildo4 жыл бұрын
Thanks for you vids!
@wizzl85134 жыл бұрын
good stuff, thanks
@marcelomendes72272 жыл бұрын
Ok 👍
@kasirajan22894 жыл бұрын
hi, nice tutorial, if you explained why we need to use searchDelegete then it will be great.
@섀플리4 жыл бұрын
Great tutorial! but I can't pass an object through this searchDelegate page. How can I get an object(user details) from the former page and then pass to the next page?
@xmartinez224 жыл бұрын
can you do one with a streambuilder?
@fahamarahmani72233 жыл бұрын
i want to search from sqlite table , how can i implement search with searchdelegate , please guide me.
@julioarmando14474 жыл бұрын
tengo un a duda como puedo decirle que me busque cualquier valor
@saratm997310 ай бұрын
Is it possible to clear recent search? Please give a code to implement.
@bubbleflutter3 жыл бұрын
okey
@karansaggoo29353 жыл бұрын
Hello Please make a video on search in flutter app on different firestore collection For eg there are three categories of vehical light , heavy , medium and have different collection in firebase And how to search throughout the app (search any category in home page )
@HarshSharma-vd1rx4 жыл бұрын
Great tutorials!!! could you please tell me how can I send the result of the search back to my previous screen? Thanks.
@vivekjunghamal57304 жыл бұрын
Perhaps by adding the resulted list to a global variable, or u can store the result list to db or smthng and call it on other pages.
@mehtabaalamansari48353 жыл бұрын
Hey dear, I want one help from your side Actually i make an app for question answer in flutter i used HTML tag for write question answer in flutter app. Now app is completed but i am not understand how to implement search bar in app. Actually i want to search question which i wrote in HTML tag and when i type in search bar like "what is Safety?" Then show result and related related result too and when click on result then direct show take me on that question which i search in search bar. Plz help i am stuck here.
@AnkitYadav-pe5xt4 жыл бұрын
please make video with jason data in search bar....
@Yaxum4 жыл бұрын
Found a solution for it ?:)
@nishtha75974 жыл бұрын
Please make a video to search from internet by using Api such as searching songs movies,or any other search. Thanks
@Yaxum4 жыл бұрын
Hello! Have you found any guide for it ?:)
@alvishramani44 жыл бұрын
Nice Explanation Ma'm....i got an error as following: (elided 3 frames from dart:async) Handler: "onTap" Recognizer: TapGestureRecognizer#970f8 Navigator operation requested with a context that does not include a Navigator. Another exception was thrown: Navigator operation requested with a context that does not include a Navigator. Plz Ma'm Answer🙏
@ashutoshjha45744 жыл бұрын
as we search in KZbin and after clicking on the searched item we navigated to that page . I want to know this . please help.
@vivekjunghamal57304 жыл бұрын
like you want to go to another section on tap ? then just use some icons or inkwell and Navigate the index "listResult[index]" to required page. Remember to make a place for that index/variable in ur destination page. Eg: Here the destination page is "EditThisItem" " final ClassofList indexofResultFromSearch; EditThisItem([this.indexofREsulrFromSearch]);"
@shakti0513 жыл бұрын
U didn't upload this project to github.
@ikishan964 жыл бұрын
Okay .... 😁
@sgthamm3r1084 жыл бұрын
Please make a video to search from database by using sqflite. Thanks.
@Yaxum4 жыл бұрын
Hi found any good tutorial for that ?:)
@sgthamm3r1084 жыл бұрын
@@Yaxum Hi. Give me your email address. I send you a sample.
@Yaxum4 жыл бұрын
@@sgthamm3r108 yaxum.cedeno@hotmail.com
@vivekjunghamal57304 жыл бұрын
'package:flutter/src/widgets/navigator.dart': Failed assertion: line 3854 pos 12: '!_debugLocked': is not true. This error comes whenever i try to Navigate to another page
@sreeragkm28474 жыл бұрын
@12:38 what is 'p'.
@manishsrivastava60814 жыл бұрын
hello ma'am, my textField of search box is typing in reverse manner despite copying your exact code.... can u plz help??
@vivekjunghamal57304 жыл бұрын
maybe due to keyboard settings.. or your mobile settings..
@hardipmac2 жыл бұрын
Ok
@manishsrivastava60814 жыл бұрын
how to close the search bar after navigating to another page?
@ananthanvazhattu82864 жыл бұрын
How to pass listitem from showResults to buildResults
@RanjanSigdel3 жыл бұрын
ok
@AbhideepChakravarty4 жыл бұрын
Do a flutter build web. Then deploy the app somewhere. Then open the app in Android, on any browser. Try to do your search 3-4 times. Boom, it does not work. No matter how many times you press enter, it does not work. Use auto complete, it will work. Switch app, it will work. But it will not work on pressing enter button.
@MayuriRuparelTech4 жыл бұрын
Thank you for feedback, I have not tested this functionality on web.
@AbhideepChakravarty4 жыл бұрын
@@MayuriRuparelTech On the web, text fields are behaving very weird. If you test it, and find the same bug, let me know. I have raised the bug in GitHub, you can also add to it.
@shakti0513 жыл бұрын
share code this code not working
@julurisaiviswanadhgupta55154 жыл бұрын
It is not working when we search with category
@vlycie66284 жыл бұрын
hi mayuri..thanks for the video..what about my list of data is privatized List _dataList=[]. how can i access it for searchDelegate class?
@kamanzishema84324 жыл бұрын
you can create a getter for it ....
@erencelik9644 жыл бұрын
Why do you always say ok ?
@acyutanand4 жыл бұрын
this video should alsi include FutureDelegate wherein the search results have to be obtained from API call.