Flutter Advanced : Build Beautiful Material Search App or Integrate it with Any App

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 253

  • @MinhTran-xn3kk
    @MinhTran-xn3kk 6 лет назад +144

    in my opinion. You should place the demo of your app on top of the video. This will create more excitement. I always have to watch demo before learning video

    • @abodamin7820
      @abodamin7820 5 лет назад +9

      for real that's how all tutorials must be, cuz it doesn't make sense to read code without seeing the results in complete manner.
      in the beginning and end of the video.

    • @trapeye3464
      @trapeye3464 4 года назад +1

      agree, cause it makes me excited to watch.. because we already know the result.

  • @sreelalts1892
    @sreelalts1892 4 года назад +5

    Hats off to you! Just 24 minutes gave me an INCREDIBLE amount of info! Helped me a lot!

  • @evicoach
    @evicoach 4 года назад +5

    This is the best tutorial I've watched online. You're amazing 🙌

  • @toflex-chan
    @toflex-chan 4 года назад +4

    This is one of the best video on flutter search that I have seen 👍

  • @uzairleo2910
    @uzairleo2910 4 года назад +1

    During my whole learning phase using ur sources one thing i realized everytime
    pawan bhai you are such genuine heart and minded person
    #reallyappreciateyourEfforts
    #keepItup#theFlutterGem

  • @MrQooje2
    @MrQooje2 3 года назад +4

    Wow! This is exactly what I needed. You're an MVP!
    Thanks a lot!

  • @gilmcglory3748
    @gilmcglory3748 6 лет назад +2

    Thanks so much for another very important tutorial. You have a very captive group of students, and we look forward to all of your videos.

  • @nttrn
    @nttrn 3 года назад +1

    Clearly explain and easy to follow, I would like to ask about if we want to use endDrawer instead for transition drawer from the right. what we have to do because when I try it turn out invisible. Thank you!

  • @ayuzh7659
    @ayuzh7659 3 года назад +2

    put.. query = suggestionList[index]; before showResults(context); in ontap function to make the query equal to the String in List

  • @chrisbanas9118
    @chrisbanas9118 2 года назад

    This was the best tutorial I've ever seen

  • @evicoach
    @evicoach 4 года назад +2

    God bless you, thank you very much. Exactly what I wanted. You're using Android studio. I would really love all the useful flutter shortcuts keys too. Thanks

  • @wycliffeo4656
    @wycliffeo4656 5 лет назад +10

    Thanks for the wonderful tutorials , any chance of the search using API tutorial?

  • @sauravgupta1307
    @sauravgupta1307 6 лет назад +1

    Great Bro..Though I have not gone through your Tutorials but Thumbs up from me. I was looking for Advanced Quiz app for android tutorials

  • @antoniolarosa776
    @antoniolarosa776 6 лет назад +1

    Nice work man...I good follow up of this tutorial could be an integration with google maps api (such google places). So we can learn how to integrate with an api. Great work

  • @vinceramces
    @vinceramces 6 лет назад

    Maybe this will become helpful when querying to Firestore. I used a different plugin for search, yet I have to implement it in a way its good to show its results. Thanks for the Tutorial

  • @abodamin7820
    @abodamin7820 5 лет назад

    best Tutorial explaining all what a beginner need to implement in a search bar.
    great job.

  • @wahyualfandi611
    @wahyualfandi611 3 года назад

    i will implement this searching method but i'm not using appbar on my apps, will it work without using appbar?
    edit : It Works, thanks a lot, this tutorial is very helpful

  • @d-apps2699
    @d-apps2699 5 лет назад +2

    I loved this tutorial but I needed with Firestore.

    • @nbreuk2954
      @nbreuk2954 4 года назад

      have you found it yet?

  • @jamesboye3190
    @jamesboye3190 5 лет назад +8

    Good Tutorial Please where can i find an example with live json data?
    Thanks

  • @texcrac
    @texcrac 2 года назад +1

    Incredible video, 10/10 thank you very much for this!

  • @pepepriest5973
    @pepepriest5973 5 лет назад

    Looks really good men, really easy in flutter. Gonna try it with sql or firebase

  • @andressaszx
    @andressaszx 3 года назад +1

    Very nice, friend. Thank you very much!

  • @halyan2033
    @halyan2033 5 лет назад

    It's pretty clear! Thank you so much for doing this Tutorial Video!!!!! 👏👏

  • @vitoalvarez5416
    @vitoalvarez5416 6 лет назад +1

    You are amazing. You really helped me and i understood everything you said clearly!

    • @HelloCodepur
      @HelloCodepur  6 лет назад

      Thanks

    • @vitoalvarez5416
      @vitoalvarez5416 6 лет назад +1

      But i have a question, if in the build results i want to change to another screen when the result is tapped, how should i do it? Thanks in advance.

  • @sunilk9760
    @sunilk9760 4 года назад

    तकिया कलाम
    उम, अहं , basically ,what we can do
    overall nice going

  • @ritwikghosh7821
    @ritwikghosh7821 4 года назад +1

    Amazing tutorial, loved the method of going through it :D

  • @SameenIslam
    @SameenIslam 4 года назад +1

    Nice tutorial but your scope fell a bit short. You should've shown how we can filter a listview of cities after searching and returning the query. After watching this, I know how to create a searchbar with SearchDelegate and that's it. Seems a bit half-baked.

  • @priyanshupaliwal8548
    @priyanshupaliwal8548 3 года назад +1

    Thank you bhaiya for this tutorial

  • @mohammadezziddin9627
    @mohammadezziddin9627 6 лет назад +1

    thank you so much Pawan that you teaching us in English :D

  • @rand6626
    @rand6626 5 лет назад

    Excellent content, great job. The noise since 21:33 is sad because the tutorial is so useful.

  • @ChristianMayrde
    @ChristianMayrde 5 лет назад +1

    This was really helpful and well explained, thank you!

  • @astridtaw
    @astridtaw 3 года назад +1

    Thank you. It was of great help.

  • @alinakramer7356
    @alinakramer7356 4 года назад +1

    Thank you some much, very helpful!you explain very well

  • @suptech4631
    @suptech4631 4 года назад +1

    Thanks for the great video! It really helped me a lot!

  • @emranimam92
    @emranimam92 4 года назад

    Thank you so much for this. I was looking for this one exactly.

  •  5 лет назад

    Amazing video
    quick question tho, how would'd you go about the search accepting ND or Nwd for new dheli (a couple of letters in the right order) and bolding those letters?

  • @martinrupertbulquerin228
    @martinrupertbulquerin228 6 лет назад

    Thank you so much for this tutorial! I've been looking for this the whole time. Please implement it on your Pokemon app. I want to know how to query in ListView and then show the results on the next page.

  • @hungdang38
    @hungdang38 3 года назад +1

    Thanks ❤️ amazing tutorial

  • @SHREYASINGH-kp8kq
    @SHREYASINGH-kp8kq 3 года назад

    Very helpful easily understandable and well explained .

  • @ni_kabiu_john
    @ni_kabiu_john 3 года назад +1

    Amazing... totally awesome

  • @martinmugi2257
    @martinmugi2257 6 лет назад +2

    Nice tutorial.. I think it will be more clear if you implement it in pokemon app...waiting bro thanks

  • @vbatan
    @vbatan 3 года назад +1

    Great job bro 👏

  • @sankaranarayananp8407
    @sankaranarayananp8407 2 года назад +1

    Nice Tutorial !!

  • @MuhammadUmair001
    @MuhammadUmair001 3 года назад

    what a beauty you code, excellent

  • @nixonoftheyear
    @nixonoftheyear 4 года назад

    Very thank you for this great tutorial. There is one thing that you should correct, is it wrong use query in buildResults? Because if I search 'New D' and I tap on 'New Delhi' I want to see for result text 'New Delhi' and not only what I've typed.

  • @paulnoris4928
    @paulnoris4928 5 лет назад

    It was a really good video, thanks you a lot, but I have a question, it's posible to get the seleccted value on the previous widget, i mean without have to send with a navigator.pushnamed to another please ? to be more clear, to have autocomplete input on a form, select value, return to the same widget and display on the widget where I have the onTap or onPress inside the form

  • @LivDev
    @LivDev 4 года назад +1

    awesome tutorial so easy to understand

  • @AyushiSharmaDSA
    @AyushiSharmaDSA 4 года назад

    Thanks so much for making this video :)

  • @AbdullahHattab
    @AbdullahHattab 2 года назад

    thank you. can you please provide how can we use some thing like bold the text for a huge list and characters, because the substring is a limited?

  • @iMed-Med
    @iMed-Med 4 года назад

    Great videos, I learned some much from this video. :)

  • @dawithagos
    @dawithagos 5 лет назад +2

    Awesome content. Is there a way to override the default hint text.

  • @Moncellence
    @Moncellence 3 года назад +1

    very thanks man , thank you

  • @CHOCHY
    @CHOCHY 4 года назад +1

    Do you have a course in Udemy ?

  • @legaspi19
    @legaspi19 6 лет назад

    Thank you so much for this tutorial Pawan!

  • @majeedk100
    @majeedk100 6 лет назад +2

    Thank you so much... very nice tutorial.. can you please create video deep link flutter

  • @lennard4454
    @lennard4454 3 года назад +1

    thanks so much... helped me alot

  • @SampathDiss
    @SampathDiss 3 года назад +1

    Thank you for this lesson

  • @javeedishaq7643
    @javeedishaq7643 4 года назад

    thanks Pawan for making this tutorial

  • @terminalthor8800
    @terminalthor8800 5 лет назад

    Great explanation. Btw is the any way to change default placeholder/hint?

  • @samvictor2754
    @samvictor2754 3 года назад +1

    very beginner friendly buh pls am having issues with the cases... the search is case sensitive.. how can i make both the search and query same case

    • @somebodyoulove
      @somebodyoulove 3 года назад +1

      Hello Sam do this
      final suggestionList = query.isEmpty
      ? recentCities
      : cities.where((p) => p.toLowerCase().contains(query) && p.toLowerCase().startsWith(query)).toList();

  • @wingardiumleviosa2660
    @wingardiumleviosa2660 4 года назад +1

    u r a flutter gem boi

  • @princeledi9930
    @princeledi9930 3 года назад +1

    You the best bro

  • @aminabekir903
    @aminabekir903 4 года назад

    Amazing video 🤩 , well explained

  • @chrisogonas
    @chrisogonas 3 года назад

    This is quite useful. Thanks

  • @sanali6432
    @sanali6432 6 лет назад +2

    Why don't you make a tutorial series of e-commerce applications and use back-end a proper app which work like Amazon or Flipkart

  • @jarvsgithub6017
    @jarvsgithub6017 2 года назад

    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

  • @NishaYadav-pj5mm
    @NishaYadav-pj5mm 4 года назад

    Sir , there is one doubt ki MyApp define karna compulsory hai ya nhi .
    Bcoz aapne MyApp define nhi kiya or search app run bhi huaa but in my case just reverse

  • @adeutisunday17
    @adeutisunday17 2 года назад

    Thanks for this.
    But what if I want to get search results from the whole of my app and not just some list of strings???

  • @ijazfx
    @ijazfx 4 года назад +1

    Well explained!

  • @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 )

  • @yazidkrayem7408
    @yazidkrayem7408 4 года назад +1

    Thank you for this tutorial

  • @experimentb6449
    @experimentb6449 4 года назад +1

    Does this work if users input a username or something like that, and like instagram be able to search for usernames without having to manually write them in like he did with the cities

  • @caturwicaksono6720
    @caturwicaksono6720 4 года назад

    thank you, clear enough, i love it

  • @sureshy4716
    @sureshy4716 6 лет назад

    Thank you for the tutorial. Really its very nice.
    can you please make a video on how to connect with third party android SDK's . (for eg., as soon you click on the button in flutter it should display android or ios activity in app and few text fields which should send back the user input back to flutter app) Hand over the flutter view to android activity and send response back to flutter.

  • @XPLORABHAY7
    @XPLORABHAY7 3 года назад +2

    best one ❤️✨

  • @uzairleo2910
    @uzairleo2910 4 года назад

    pawan bhai i m little confused there where u mentioned that we do some hard coding here may i asked what if we not do hardcoding is that data fetched from any where? a little confused

  • @samighasemi3333
    @samighasemi3333 3 года назад +1

    Awesome!

  • @nixonoftheyear
    @nixonoftheyear 4 года назад

    thank you man for this beautiful work but where is the code for this app? you are using github like a advertising poster about yourself.

  • @TheShinayser
    @TheShinayser 6 лет назад +1

    Is it possible to show a search bar in other widgets that not a Scaffold? For example: show a search bar in a modal bottom sheet

  • @hugoszervinsk4416
    @hugoszervinsk4416 5 лет назад

    Thanks, It was very useful!

  • @iNTERS22
    @iNTERS22 5 лет назад

    Great tutorial! Thank you!

  • @obaydullahalnumanhasib451
    @obaydullahalnumanhasib451 2 года назад

    great tutorial. how can i add real suggestion in my search bar?

  • @bangjali8621
    @bangjali8621 6 лет назад

    this what i want. thank you dude.

  • @ArkangelB
    @ArkangelB 6 лет назад

    so much appreciated man! thanks!

  • @randriamarovelomanda1336
    @randriamarovelomanda1336 5 лет назад +1

    what should I do guys if i want use searchDelegate in the homePage ,not like this but if i click in the button search, this SearchDelegate appear in this same page

  • @internetkids5813
    @internetkids5813 4 года назад +1

    Thank you, this helped me a lot

  • @AbhideepChakravarty
    @AbhideepChakravarty 3 года назад

    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. What do you notice?

  • @mbrdlarun9143
    @mbrdlarun9143 5 лет назад

    Super tutorial. Thank you.
    I am a beginner and when I play it in AndroidStudio and launch the application ... it only shows the first letters typed and not the full name of the whole city ...
    And is it possible to work with a list saved separately and with several items?

  • @ammarelhamdo_offical
    @ammarelhamdo_offical 3 года назад

    Thanks for this is really help me.

  • @shibookumar7651
    @shibookumar7651 2 года назад

    Sir please suggest the best extension for vscode error or fixed suggestions in flutter

  • @vinayakshukla8197
    @vinayakshukla8197 6 лет назад +14

    Please provide the source code of this

  • @3byte993
    @3byte993 4 года назад

    well explained. but if i want to search against my database how this can be integrated?

  • @matiasgomez9416
    @matiasgomez9416 4 года назад +2

    Here is the code:
    class Example9 extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
    appBar: AppBar(
    title: Text('Seach App'),
    actions: [
    IconButton(
    icon: Icon(Icons.search),
    onPressed: () {
    showSearch(context: context, delegate: DataSearch());
    },
    )
    ],
    ),
    drawer: Drawer(),
    );
    }
    }
    class DataSearch extends SearchDelegate {
    final cities = [
    "Barcelona",
    "Madrid",
    "Valencia",
    "Malaga",
    "Paris",
    ];
    final recentCities = [
    "Barcelona",
    "Madrid",
    ];
    @override
    List buildActions(BuildContext context) {
    // TODO: Actions for AppBar
    return [
    IconButton(
    icon: Icon(Icons.clear),
    onPressed: () {
    query = "";
    },
    )
    ];
    }
    @override
    Widget buildLeading(BuildContext context) {
    // TODO: Leading icon on the left of the AppBar
    return IconButton(
    icon: AnimatedIcon(
    icon: AnimatedIcons.menu_arrow,
    progress: transitionAnimation,
    ),
    onPressed: () {
    close(context, null);
    },
    );
    }
    @override
    Widget buildResults(BuildContext context) {
    // TODO: Show some result based on the selection
    return Container(
    height: 100.0,
    width: 100.0,
    child: Card(
    color: Colors.red,
    child: Center(
    child: Text(query),
    ),
    ),
    );
    }
    @override
    Widget buildSuggestions(BuildContext context) {
    // TODO: Show when someone searches for something
    final suggestionList = query.isEmpty
    ? recentCities
    : cities.where((p) => p.startsWith(query)).toList();
    return ListView.builder(
    itemBuilder: (context, index) => ListTile(
    onTap: () {
    showResults(context);
    },
    leading: Icon(Icons.location_city),
    title: RichText(
    text: TextSpan(
    ///Bold text when you search suggestions
    text: suggestionList[index].substring(0, query.length),
    style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold),
    children: [
    TextSpan(
    text: suggestionList[index].substring(query.length),
    style: TextStyle(color: Colors.grey),
    ),
    ],
    ),
    ),
    ),
    itemCount: suggestionList.length,
    );
    }
    }

  • @supadickhead
    @supadickhead 4 года назад

    great tutorial ...how would i add info from a bunch of different lists?

  • @mrnoobs7471
    @mrnoobs7471 3 года назад

    Great 👌 tutorial

  • @malanjing3658
    @malanjing3658 5 лет назад

    awesone, thank you very much.

  • @abdurraheemabdul-hakeem3108
    @abdurraheemabdul-hakeem3108 5 лет назад

    Great video! Any idea how to add a unique subtitle for the listile? I’ve implemented a subtitle but when I query, the subtitles don’t match its title

  • @johnwall5526
    @johnwall5526 4 года назад

    Is it possible to override the buildResults method with the buildSuggestions method, so that it covers both aspects. This is because my search delegates suggestions are the same as the results

  • @mohammadrezasoltani5045
    @mohammadrezasoltani5045 5 лет назад

    thanks , perfect training

  • @Nobody-ky7sl
    @Nobody-ky7sl 6 лет назад

    This is good lesson thanks