Flutter ListView Search With TextField

Поділитися
Вставка
  • Опубліковано 10 сер 2022
  • Learn how to search listview builder using a textfield. This code you can use for searching or filtering items.
    Complete code
    learnflutter.co/flutter-listv...
    Getx versions
    www.dbestech.com/tutorials/fl...
    Riverpod verions
    www.dbestech.com/tutorials/fl...
    BLoC verions
    www.dbestech.com/tutorials/on...
    Udemy course coupon
    www.udemy.com/course/course-s...
    www.udemy.com/course/flutter-...
    www.udemy.com/course/flutter-...
    Learn software programming with us step by step. Make money from home by learning programming
    Complete e-commerce app
    • Flutter E-commerce App...
    Complete app for beginners
    • Flutter 3.10.0 Master ...
    Firebase complete study app
    • Flutter Firebase Maste...
    Complete Gym App
    • Flutter Gym App | BloC...
    Traveling App
    • Flutter Master Class T...
    Learn to build an android and iOS app
    • Flutter App Developmen...
    Learn to build a video player app
    • Flutter Video Player T...
    Learn to build a website step by step
    • Complete Flutter Web A...
    Learn to build an ebook app
    • Flutter Backend | Flu...
    Build an audio app step by step
    • Flutter Audio Player T...
    Twitter @dbestech
    Instagram @dbestech
    What's app @dbestech
    LinkedIn @dbestech
  • Наука та технологія

КОМЕНТАРІ • 97

  • @patrickbeaino7579
    @patrickbeaino7579 Рік тому +1

    Frankly speaking, you are the best instructor that provides a noticeable and informative way of feeding us with unique content.
    Thank you for your time. Keep growing.

  • @yheushen
    @yheushen Рік тому

    Where can I find your tutorial for search for API calls? You mentioned it at the end of your video but it wasn't clear.

  • @nikabosmit3884
    @nikabosmit3884 Рік тому

    Is there any diference in use od searchfield, if listview uses FutureBuilder? Maybe you have video on this topic? Thanks.

  • @ab2_3000
    @ab2_3000 Рік тому

    And all these we get for free.
    You are amazing man!

  • @user-io8tw8sl3z
    @user-io8tw8sl3z Рік тому +1

    can you explain if the search has not found any thing return text ( "There is not found data" ) instead of empty screen

  • @nzibukarnold1486
    @nzibukarnold1486 Рік тому

    can the same methods be implemented using dropdownformfield and the searched results be displayed in a different screen with with rest api?

  • @ssssss-ub7vu
    @ssssss-ub7vu Рік тому

    I have showModelBottomSheet with listview and textfield too. When a input something, List changes happens but not in view. Whenever keyboard is active/appeared. Listview not updates the list. It's stucked. But when i back pressed/closed the keyboard view, then the listview updated. What could be the issue ?

  • @mohamednizam5298
    @mohamednizam5298 Рік тому

    Great vid! Can i apply the same principle? Do i need to create a new method in dbhelper to generate the new list or use the method as per to yr vid? Help is bery mych appreciated many thanks - sorry should add this - this is to search sqlite database. Thanks again

  • @abdelhaksaci8674
    @abdelhaksaci8674 2 місяці тому

    am new to flutter till now you are the best instructor

    • @dbestech
      @dbestech  2 місяці тому

      Happy to hear that! like and share...

  • @roninspect4357
    @roninspect4357 Рік тому

    Very Informative! also can you please make a video of integraing full text search using aloglia or meilisearch

  • @rakshakedlaya8752
    @rakshakedlaya8752 Рік тому

    Thanks a lot bro! You made my day! Keep Growing!😊

  • @TenzinThinley
    @TenzinThinley Рік тому

    nice video. how to navigate to new class from one of those list?

  • @tamarak6984
    @tamarak6984 Рік тому

    thanks so much this was just what I was looking for!

  • @progressiveways917
    @progressiveways917 Рік тому

    super helpful..Thank you so much:)

  • @mulualemmhretu
    @mulualemmhretu Рік тому

    Thank you very much . very awesome ! and informative . you are always doing fantastic vedeo tutorial

  • @akams_r
    @akams_r Рік тому

    Finally someone explained that there has tobe two list and it works

    • @dbestech
      @dbestech  Рік тому

      Of course it has to be two lists

  • @Abhishekkumar-vl7sk
    @Abhishekkumar-vl7sk Рік тому

    how to create a search history using textfield?? Through search delegate one can do that but i want to implement with textfield.

  • @TheGreatUk
    @TheGreatUk 9 місяців тому

    Like your videos and explanations. Keep it up. :)

    • @dbestech
      @dbestech  9 місяців тому

      Thanks, will do!

  • @bilalbilu1661
    @bilalbilu1661 Рік тому +1

    How can I do that

  • @mohanmovibrothers3539
    @mohanmovibrothers3539 Рік тому

    bro how to include firebase in this project

  • @StudyStream1998
    @StudyStream1998 Рік тому

    Thanks for the video. It helped me out

  • @swapnilcodes
    @swapnilcodes Рік тому +1

    Really wonderful!♥️

  • @khizarnawaz9651
    @khizarnawaz9651 Рік тому

    Good work brother. Keep it up!

  • @mdhossen7082
    @mdhossen7082 Рік тому

    This video is Very helpful,
    Thanks,

    • @dbestech
      @dbestech  Рік тому +1

      Glad it was helpful!

  • @bilalbilu1661
    @bilalbilu1661 Рік тому +1

    I want to search api data

  • @wailynn363
    @wailynn363 Рік тому

    Thank you. Awesome!!

  • @SuluXuluS
    @SuluXuluS Місяць тому

    Thank you!

  • @ambrosebeavers
    @ambrosebeavers Рік тому

    Hi my friend. Your videos are excellent but can you do something about your recording volume. Thanks again for such resourceful videos.

    • @dbestech
      @dbestech  Рік тому

      the recent ones have higher volumn

  • @learningcurious5845
    @learningcurious5845 Рік тому

    how to do if we dont have a list and it will come later after adding from user side.

    • @dbestech
      @dbestech  Рік тому

      in that case, maybe you need to do conditional check first

  • @jarvsgithub6017
    @jarvsgithub6017 Рік тому

    Can you have a tutorial of multiple strings in search ex. "Lorem","Lorem 1","Lorem 2","Lorem 3","Lorem 4"; and it shows the result of search all containing the data

    • @dbestech
      @dbestech  Рік тому

      I think this one does the same thing as you mentioned.

  • @ePpyNitheesh
    @ePpyNitheesh 7 місяців тому

    Thanks a lot

    • @dbestech
      @dbestech  6 місяців тому

      Most welcome

  • @thewebcreator2825
    @thewebcreator2825 Рік тому

    When you will check your email

  • @alidahud337
    @alidahud337 Рік тому

    Hi can you provide an example where you search data fetched from an API?

    • @alidahud337
      @alidahud337 Рік тому

      Got it working, thanks for the tutorials btw.

  • @BrYarDJ
    @BrYarDJ Рік тому

    bro nice tutorial but i have question if all ID have navigator for new screen what we use code for this project? thanks

    • @dbestech
      @dbestech  Рік тому +1

      I did not understand your question.

    • @BrYarDJ
      @BrYarDJ Рік тому

      @@dbestech i mean in this listview each item have navigator route, when press go new screen

    • @antoniomanoel2873
      @antoniomanoel2873 Рік тому

      @@BrYarDJ Actually the ListvViewBuilder is drawing the list on the screen based in results called by the function (_runFilter) which will display the name only if there's a corresponding character in that name, so the list view will display the names present in the dynamic list previously created. I hope it helps

    • @ghala1168
      @ghala1168 8 місяців тому

      @@BrYarDJ Did you know how to do it?

  • @Geek-jx3gw
    @Geek-jx3gw Рік тому

    YOU ARE THE BEST OMG 😆 THANKS

    • @dbestech
      @dbestech  Рік тому +1

      You're welcome!

    • @Geek-jx3gw
      @Geek-jx3gw Рік тому

      @@dbestech you have a video with API list search ??

  • @IslamTalkPH
    @IslamTalkPH Рік тому

    after i type in textfield my listview gets lag and i cant scroll it. Do you know why? I am nesting so i am using singlescrollview

    • @dbestech
      @dbestech  Рік тому

      hard to see without seeing the code.

    • @IslamTalkPH
      @IslamTalkPH Рік тому

      on line in main page where the SingleChildScrollView located. It is working fine in android and lower version of ios but in the latest iphone where i test the problem occurs.

  • @GuilhermeMartins-ln7ti
    @GuilhermeMartins-ln7ti Рік тому

    Thx bro!

  • @jaykay194
    @jaykay194 Рік тому

    Bro, you save the day

  • @GianSandoval
    @GianSandoval Рік тому

    Y si es de datos que se traen desde una base de datos, o Json??
    ✅ Por ejemplo el siguiente Json alojado en la nube
    {
    "RECETAS" :{
    "id" : 1,
    "img": "",
    "text" : "hola"
    }
    }

    • @dbestech
      @dbestech  Рік тому

      I don't understand your language. Please speak english

  • @zikriirfandi
    @zikriirfandi Рік тому +1

    At the beginning, it will show all list item, how can we hide them, so the items will show, when searched?

    • @adityakushwaha5325
      @adityakushwaha5325 Рік тому

      You could code: suppose u store your value in text field in searchname. Then you could set searchname.isempty()?container(): listview

    • @manuzsc108
      @manuzsc108 Рік тому +2

      Use visibility widget

    • @Modouria
      @Modouria 3 місяці тому

      Add your conditions in function

  • @kingramius5089
    @kingramius5089 Рік тому

    Good but can u please do this with Api and riverpod 2 ?

  • @ravindrametri1681
    @ravindrametri1681 Рік тому

    Nice sir, plz make video for firbase search with list

  • @vianeyvargas7736
    @vianeyvargas7736 Рік тому

    great thanks please make this video with Flutter Bloc Pattern

    • @dbestech
      @dbestech  Рік тому

      Ok I will try

    • @MrAtrixsd
      @MrAtrixsd Рік тому

      @@dbestech yeah. pls. Or with Provider too

  • @paradox2738
    @paradox2738 Рік тому +1

    I completly copied and pested 100 % of the code
    but it is not working

    • @paradox2738
      @paradox2738 Рік тому +2

      It works after I added setstate right after results = _allusers, //_foundusers = _allusers//

  • @peshawaamin3083
    @peshawaamin3083 Рік тому

    ❤️

  • @khubaibirfan9215
    @khubaibirfan9215 Рік тому

    ❤️❤️❤️

  • @sundar8601
    @sundar8601 Рік тому

    Sir, I am a beginner. The results list shows the error. "Function expression can't be named. Try removing the name, or moving the function expression to a function declaration statement."

    • @sundar8601
      @sundar8601 Рік тому

      I have done the mistake. Its working fine. Thank you verymuch Sir

    • @dbestech
      @dbestech  Рік тому

      Most welcome

  • @Paul_2206
    @Paul_2206 4 місяці тому

    The link doesn't work

  • @user-jf4en3xj5x
    @user-jf4en3xj5x 4 місяці тому

    nice

    • @dbestech
      @dbestech  4 місяці тому

      Thanks. Like and share

  • @khubaibirfan9215
    @khubaibirfan9215 Рік тому

    Nc tutorial

  • @Tia-pt7xj
    @Tia-pt7xj 3 місяці тому

    i cant access the link eventho i clicked it

    • @dbestech
      @dbestech  3 місяці тому

      I just accessed it.

    • @dbestech
      @dbestech  3 місяці тому

      I just accessed it.