Flutter Search Bar | Search in Flutter using SearchDelegate | Learn Flutter with Mayuri Ruparel

  Рет қаралды 24,727

Mayuri Ruparel Tech

Mayuri Ruparel Tech

Күн бұрын

Пікірлер: 85
@mihirjani9817
@mihirjani9817 3 жыл бұрын
Very knowledgeable video
@anandmano4375
@anandmano4375 4 жыл бұрын
Great Madam. Excellent Teaching..
@bricegnanago409
@bricegnanago409 4 жыл бұрын
Enriching presentation! Thank you Reeva Academy
@MayuriRuparelTech
@MayuriRuparelTech 4 жыл бұрын
Thank you Keep supporting
@sarojghising9877
@sarojghising9877 3 жыл бұрын
good explanation. thank u mam..
@erperejildo
@erperejildo 4 жыл бұрын
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
@internetcollections6453
@internetcollections6453 4 жыл бұрын
You can use it... I have also used .contains and working correctly
@SyedHaroon786
@SyedHaroon786 3 жыл бұрын
you can do loadFoodItems().where((obj) => obj.title.toLowerCase().startsWith(query.toLowerCase())).toList();
@saileshverma1942
@saileshverma1942 4 жыл бұрын
great video really save my day thanku
@catarinamoita3990
@catarinamoita3990 3 жыл бұрын
awesome video!!! thank you very much super helpful
@producernemo7035
@producernemo7035 4 жыл бұрын
I'd love it btw if you'd make another short video about how to buildresult for this search!
@MayuriRuparelTech
@MayuriRuparelTech 4 жыл бұрын
Ok 👍 Thank you for suggesting 👍
@adrianstivendiazvelasco4143
@adrianstivendiazvelasco4143 3 жыл бұрын
just amazing thank you so much you helped me alot, hi from colombia
@harshaharshi7269
@harshaharshi7269 4 жыл бұрын
Good
@sreeragkm2847
@sreeragkm2847 4 жыл бұрын
@8:12 at this time not showing the list, and no errors🤷‍♂️🤷‍♂️🤷‍♂️ but why?
@Jockcityfounder
@Jockcityfounder 4 жыл бұрын
Love the explanation. Can you please do a video using Map class with the searchDelegate?
@drronyvincent
@drronyvincent 4 жыл бұрын
How can we use it with firebase???
@javedshaikh2194
@javedshaikh2194 4 жыл бұрын
Nice tutorial
@MayuriRuparelTech
@MayuriRuparelTech 4 жыл бұрын
Thank you
@producernemo7035
@producernemo7035 4 жыл бұрын
Beautiful Explanation btw! Great video
@MayuriRuparelTech
@MayuriRuparelTech 4 жыл бұрын
Thanks
@ni_kabiu_john
@ni_kabiu_john 4 жыл бұрын
Hey Mayuri.. nice tutorial
@theinquisitor9540
@theinquisitor9540 3 жыл бұрын
im getting my data from json any tips to get the json file to my buildseugestion list
@shahrukhrizan1918
@shahrukhrizan1918 3 жыл бұрын
how to use the buildResult from SearchDelegate to get item that already been make?
@fcojara2000
@fcojara2000 4 жыл бұрын
Hi, How to use SearchDelegate with Provider? for return value of var Query??.... thanks for everything
@producernemo7035
@producernemo7035 4 жыл бұрын
the search doesnt work when i earch with lowercase characters. How do I make the search work for both lower and upper case characters?
@MayuriRuparelTech
@MayuriRuparelTech 4 жыл бұрын
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
@producernemo7035
@producernemo7035 4 жыл бұрын
@@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
@MayuriRuparelTech
@MayuriRuparelTech 4 жыл бұрын
Thats good! Thank you Btw my name is Mayuri 😊😊😊
@producernemo7035
@producernemo7035 4 жыл бұрын
@@MayuriRuparelTech ahh sorry, well nice to know you Mayuri!
@bricegnanago409
@bricegnanago409 4 жыл бұрын
@@producernemo7035 yes
@marco_di
@marco_di 3 жыл бұрын
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
@pritamkashyap4077
@pritamkashyap4077 4 жыл бұрын
Really helpful. Thanks!
@mrnoobs7471
@mrnoobs7471 3 жыл бұрын
Nice video. How can I get the code
@redzip2003
@redzip2003 3 жыл бұрын
could you please make video for datatable+mysql+crud operation in flutter
@acyutanand
@acyutanand 4 жыл бұрын
very good
@erperejildo
@erperejildo 4 жыл бұрын
Thanks for you vids!
@wizzl8513
@wizzl8513 4 жыл бұрын
good stuff, thanks
@marcelomendes7227
@marcelomendes7227 2 жыл бұрын
Ok 👍
@kasirajan2289
@kasirajan2289 4 жыл бұрын
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?
@xmartinez22
@xmartinez22 4 жыл бұрын
can you do one with a streambuilder?
@fahamarahmani7223
@fahamarahmani7223 3 жыл бұрын
i want to search from sqlite table , how can i implement search with searchdelegate , please guide me.
@julioarmando1447
@julioarmando1447 4 жыл бұрын
tengo un a duda como puedo decirle que me busque cualquier valor
@saratm9973
@saratm9973 10 ай бұрын
Is it possible to clear recent search? Please give a code to implement.
@bubbleflutter
@bubbleflutter 3 жыл бұрын
okey
@karansaggoo2935
@karansaggoo2935 3 жыл бұрын
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-vd1rx
@HarshSharma-vd1rx 4 жыл бұрын
Great tutorials!!! could you please tell me how can I send the result of the search back to my previous screen? Thanks.
@vivekjunghamal5730
@vivekjunghamal5730 4 жыл бұрын
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.
@mehtabaalamansari4835
@mehtabaalamansari4835 3 жыл бұрын
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-pe5xt
@AnkitYadav-pe5xt 4 жыл бұрын
please make video with jason data in search bar....
@Yaxum
@Yaxum 4 жыл бұрын
Found a solution for it ?:)
@nishtha7597
@nishtha7597 4 жыл бұрын
Please make a video to search from internet by using Api such as searching songs movies,or any other search. Thanks
@Yaxum
@Yaxum 4 жыл бұрын
Hello! Have you found any guide for it ?:)
@alvishramani4
@alvishramani4 4 жыл бұрын
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🙏
@ashutoshjha4574
@ashutoshjha4574 4 жыл бұрын
as we search in KZbin and after clicking on the searched item we navigated to that page . I want to know this . please help.
@vivekjunghamal5730
@vivekjunghamal5730 4 жыл бұрын
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]);"
@shakti051
@shakti051 3 жыл бұрын
U didn't upload this project to github.
@ikishan96
@ikishan96 4 жыл бұрын
Okay .... 😁
@sgthamm3r108
@sgthamm3r108 4 жыл бұрын
Please make a video to search from database by using sqflite. Thanks.
@Yaxum
@Yaxum 4 жыл бұрын
Hi found any good tutorial for that ?:)
@sgthamm3r108
@sgthamm3r108 4 жыл бұрын
@@Yaxum Hi. Give me your email address. I send you a sample.
@Yaxum
@Yaxum 4 жыл бұрын
@@sgthamm3r108 yaxum.cedeno@hotmail.com
@vivekjunghamal5730
@vivekjunghamal5730 4 жыл бұрын
'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
@sreeragkm2847
@sreeragkm2847 4 жыл бұрын
@12:38 what is 'p'.
@manishsrivastava6081
@manishsrivastava6081 4 жыл бұрын
hello ma'am, my textField of search box is typing in reverse manner despite copying your exact code.... can u plz help??
@vivekjunghamal5730
@vivekjunghamal5730 4 жыл бұрын
maybe due to keyboard settings.. or your mobile settings..
@hardipmac
@hardipmac 2 жыл бұрын
Ok
@manishsrivastava6081
@manishsrivastava6081 4 жыл бұрын
how to close the search bar after navigating to another page?
@ananthanvazhattu8286
@ananthanvazhattu8286 4 жыл бұрын
How to pass listitem from showResults to buildResults
@RanjanSigdel
@RanjanSigdel 3 жыл бұрын
ok
@AbhideepChakravarty
@AbhideepChakravarty 4 жыл бұрын
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.
@MayuriRuparelTech
@MayuriRuparelTech 4 жыл бұрын
Thank you for feedback, I have not tested this functionality on web.
@AbhideepChakravarty
@AbhideepChakravarty 4 жыл бұрын
@@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.
@shakti051
@shakti051 3 жыл бұрын
share code this code not working
@julurisaiviswanadhgupta5515
@julurisaiviswanadhgupta5515 4 жыл бұрын
It is not working when we search with category
@vlycie6628
@vlycie6628 4 жыл бұрын
hi mayuri..thanks for the video..what about my list of data is privatized List _dataList=[]. how can i access it for searchDelegate class?
@kamanzishema8432
@kamanzishema8432 4 жыл бұрын
you can create a getter for it ....
@erencelik964
@erencelik964 4 жыл бұрын
Why do you always say ok ?
@acyutanand
@acyutanand 4 жыл бұрын
this video should alsi include FutureDelegate wherein the search results have to be obtained from API call.
APP BAR • Flutter Widget of the Day #10
4:36
Mitch Koko
Рет қаралды 27 М.
How to Search List from API in Flutter | Flutter Search Example
17:00
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 67 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 33 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 56 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 2,3 МЛН
Search using SearchDelegate in Flutter App | DevKage
11:15
DevKage
Рет қаралды 10 М.
TOP 7 AppBar Widgets | Flutter Tutorial
10:37
HeyFlutter․com
Рет қаралды 63 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 81 М.
Flutter Search Textfield (inside ListView/AppBar)
3:56
HeyFlutter․com
Рет қаралды 29 М.
Build a Search System using Flutter
16:48
doctor code
Рет қаралды 82 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 574 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 67 МЛН