TOP 12 ListView Widgets | Flutter Tutorial

Поділитися
Вставка
  • Опубліковано 30 лип 2024
  • These are the TOP Flutter ListView Widgets! We cover Pull To Refresh, Infinite Scrolling ListView, Nested Columns and ListViews and more.
    Click here to Subscribe to Johannes Milke: ua-cam.com/users/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/top_...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/#/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    TIMELINE
    0:00 Intro
    0:10 1. Pull To Refresh
    1:24 2. Infinite Scrolling ListView
    4:48 3. Spread Operator
    5:25 4. Nested Columns and ListViews
    7:11 5. SingleChildScrollView
    9:04 6. ListView With JSON Data
    1:16 7. Sticky Header
    12:07 8. Search & Filter ListView
    13:45 9. Reorderable ListView
    14:27 10. ListView With Navigator
    15:51 11. Horizontal ListView
    17:02 12. Vertical ListView
    18:09 BONUS: Grouped ListView
    SOCIAL MEDIA: Follow Us :-)
    Twitter | / heyflutter_
    Linkedin | / heyflutter
    #Flutter #Tutorial #JohannesMilke
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
  • Наука та технологія

КОМЕНТАРІ • 72

  • @HeyFlutter
    @HeyFlutter  2 роки тому +1

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    ALL Source Codes: github.com/JohannesMilke/top_listview_widgets
    TOP 7 AppBar Widgets: ua-cam.com/video/TlbbIQykHK0/v-deo.html
    TOP 10 Flutter Widgets: ua-cam.com/video/gK288ZfzjCc/v-deo.html
    Neumorphism Tutorial: ua-cam.com/video/A2Bbhr3DGd0/v-deo.html
    Hide AppBar On Scroll Tutorial: ua-cam.com/video/xzPXqQ-Pe2g/v-deo.html
    Hide/Show AppBar & Floating Action Button On Scroll: ua-cam.com/video/Zs3D6vs7h-k/v-deo.html
    Bottom Sheet Tutorial: ua-cam.com/video/TXYuaiukw7E/v-deo.html
    Popup Dialog Tutorial: ua-cam.com/video/4pn-_md5Ol4/v-deo.html
    Scaffold Widget Tutorial: ua-cam.com/video/fcakQFrJVFQ/v-deo.html
    Hide Bottom On Scroll Tutorial: ua-cam.com/video/pr_Go9I19SA/v-deo.html
    Bottom Navigation Bar Tutorial: ua-cam.com/video/xoKqQjSDZ60/v-deo.html
    Animated Bottom Navigation Bar Tutorial: ua-cam.com/video/95PEDLxEEtg/v-deo.html

  • @marklai4567
    @marklai4567 2 роки тому +1

    Thanks for sharing! All of your videos are great! Always clear and easy to understand! Many thanks!

  • @JihedMrouki
    @JihedMrouki 2 роки тому +7

    thank you for sharing these tips and for the uploads it helps alot, could you also do a mini series on state management ? provider ,riverpod, bloC ,getX and the differences between them?

  • @suneelasiddiqui4957
    @suneelasiddiqui4957 2 роки тому +3

    Great video and really helpful! I hope you will make a series on state management using providers one day 😊

  • @yalamoussalancineyeo1893
    @yalamoussalancineyeo1893 2 роки тому

    Good job, God bless you for all your effort !!!

  • @Musicstations221
    @Musicstations221 2 роки тому +1

    My crazzy guy, thanks 4 all the excellent work you have done ✔ 👍

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

    Thank you for sharing information with everyone. People around here really appreciate this

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

      Glad to hear that, Thank you Mohamad Dody! 😊

  • @hashankannangara8723
    @hashankannangara8723 2 роки тому

    Wow!! this video is amazing.. thanks a lot!!

  • @dicksonguinajnr1449
    @dicksonguinajnr1449 2 роки тому

    Thank you so much my brother.. God Bless

  • @muhammadissasabbagh1540
    @muhammadissasabbagh1540 2 роки тому

    Very useful information and tips 😃

  • @mustafashaikh7829
    @mustafashaikh7829 2 роки тому +1

    Nice video and good teaching on point to point.
    Can you make a video upload file from list view builder and show progress indicator on selected index...

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

    Been trying to get off of my arse and build some more complicated / user friendly projects. This video is superb, and has definitely helped me do just that. Thank you!

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

      Glad it was helpful, @chaddrobertson5805 😀

  • @hassanosama357
    @hassanosama357 2 роки тому

    Thats great video, You can also make video on Sliver kit, which also have SliverList and other kind of cool stuffs

  • @harimakani2316
    @harimakani2316 2 роки тому

    Great Video

  • @mrishalap
    @mrishalap 2 роки тому +1

    Powerful intro 🔥

  • @attituderecord7589
    @attituderecord7589 2 роки тому

    Thanks so much

  • @crazy-man
    @crazy-man 2 роки тому

    cool, Exactly what is needed

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

    감사합니다 이 영상 덕분에 플러터를 쉽게 배울 수 있네요.
    정말 유용합니다

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

      You’re most welcome, 내가 만든 국기.! 🙂

  • @user-ks5rv8wz4w
    @user-ks5rv8wz4w 2 роки тому

    Thank you

  • @minafaried
    @minafaried 2 роки тому

    Amazing

  • @cavidanbagiri7837
    @cavidanbagiri7837 2 роки тому

    Super teacher

  • @jigneshji3228
    @jigneshji3228 2 роки тому

    Nice video sir..

  • @uvaismohammad4216
    @uvaismohammad4216 2 роки тому

    You are wonderful 💙❤🚀

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

    This video is gold

  • @__mothership__8475
    @__mothership__8475 2 роки тому

    Hi johannes, I am getting difficulty in fetching date , time from google sheet api . Can you make a short video on storing date, time to google sheet api and fetching in app. Will be really helpful for me

  • @sarathrkrishnan6610
    @sarathrkrishnan6610 2 роки тому

    Love from India ❤️

  • @sleepingsaintz
    @sleepingsaintz 2 роки тому

    How to create nested re orderable list view as in Google tasks app?

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

    Thx

  • @ein44sam
    @ein44sam 2 роки тому

    13:33 When you return to first page after BookPage you will get focus to TextField and the keyboard will pop out. How to prevent this behavior?

  • @mdshahidali3132
    @mdshahidali3132 2 роки тому

    Create a video on AWS in flutter sir.

  • @xXxXxMrGamexXxXx
    @xXxXxMrGamexXxXx 2 роки тому

    Great tutorial, u think u can make a a tutorial how to create a Picker Menu Height and Weight pls?

  • @kareemobaid6618
    @kareemobaid6618 2 роки тому

    i really like all of that, you are my super hero sample for flutter,
    a question, why don't you use getX ? is it cause of a reason you have, it could help us if we know it, or what?
    thanks for all of that

  • @lifebest4404
    @lifebest4404 2 роки тому

    Sir how to create uber app backund php flutter

  • @slideslipping
    @slideslipping 2 роки тому

    12:08 Is there any advantage using showSearch and SearchDelegate over the method shown here?

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, slideslipping! 🙂. It depends on the requiremnet of the app.

  • @__mothership__8475
    @__mothership__8475 2 роки тому

    Hi Johannes, lets say I have 3 json data with 5 elements each and i want to create a search Listview for the combination of all. How can I do it ??

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank you, Vipul Ghate! Check out this video: ua-cam.com/video/ZHdg2kfKmjI/v-deo.html&ab_channel=JohannesMilke

  • @bhabhayt398
    @bhabhayt398 2 роки тому +1

    How many types of state are there and what is the difference between runapp and main function

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank You BHABHA YT! Follow this link: stackoverflow.com/questions/58883728/what-is-the-difference-between-main-function-and-the-runapp-function-in-flutte
      I hope you will get your answer 🙂

  • @mdshahidali3132
    @mdshahidali3132 2 роки тому

    Create a Pich in and Pinch out Features like iPhone in Flutter .Please Sir

  • @winneze1
    @winneze1 2 роки тому

    Hi sir, i'm stuck with the scrollableController at chat ui screen, how to make it scroll to the newest mesage when init the screen. I try addListener but somehow when the chat screen init, i have to manual scroll a little bit and it execute the scroll. I dont know what happen? Can do you an example for that?

    • @gauravthakkar802
      @gauravthakkar802 2 роки тому

      Post your code

    • @winneze1
      @winneze1 2 роки тому

      @@HeyFlutter Here is the code sir:
      The function that i want to fire when enter the chat screen:
      bool _isScrollToEnd = false;
      void _scrollListener() {
      if (chatData != null && !_isScrollToEnd) {
      Timer(Duration.zero, () async {
      await _scrollController.animateTo(
      _scrollController.position.maxScrollExtent + 150,
      duration: const Duration(milliseconds: 1000),
      curve: Curves.fastOutSlowIn,
      );
      });
      _isScrollToEnd = true;
      }
      }
      In initState:
      _scrollController.addListener(_scrollListener);
      Then I put the controller into a ListView.Builder. The problem is when enter the chat screen. And the chat data is loaded. But it's not automatically scroll down to the end, when use my hand to scroll a little bit, the function is execute. I don't get it what is with this weird behavior?

  • @computerprogrammer9279
    @computerprogrammer9279 2 роки тому

    Yeh bro

  • @okeyshourovroy2769
    @okeyshourovroy2769 2 роки тому

    Can you please make a video on flutter pdf and pos printer for windows?

  • @user-jm7mm3qo6n
    @user-jm7mm3qo6n Рік тому

    Hello. Thank you for the video, it's very useful.
    But, I think that I found a mistake. You told that if we use just a ListView without .builder(), then ListView render all elements. I just tested it and found out that the ListView itself optimises the rendering and parameter cacheExtent works as well.

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

      Thanks for adding into out knowledge, Рамиль Рахматуллин 🙂 really appreciated, but rendering all and optimized rendering are two different things.

  • @zakariahouache5442
    @zakariahouache5442 2 роки тому

    thenks sur!,,,
    Is there a function so that when the Internet is cut off,
    it does not work WebView and when the Internet returns,
    it works WebView automatically ,And when the internet is weak it works "is Loading"or "circiller progresidec idicaitor"

    • @zakariahouache5442
      @zakariahouache5442 2 роки тому

      @@HeyFlutter Thank you, I have never found a wonderful person like you

    • @HeyFlutter
      @HeyFlutter  2 роки тому

      Thank You Zakaria Houache! Follow this link: github.com/flutter/flutter/issues/69502
      I hope you will get your answer 🙂

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

    MEEEEEGAAAAAA!!!!!! 🤩🤩🤩

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

      Glad you liked it, @marcodinic 😀

  • @dicksonguinajnr1449
    @dicksonguinajnr1449 2 роки тому

    My brother can you try to do search listview

  • @gataka534
    @gataka534 2 роки тому

    why don't you create a course i would buy it

  • @olawoleoyedele4212
    @olawoleoyedele4212 2 роки тому +1

    !firstComment

  • @__mothership__8475
    @__mothership__8475 2 роки тому

    For showing Search & Filter ListView, I am fetching data from Google Sheets like this way,
    The problem here is when you search for something it will appear as suggestion but when you backspace what you search for the entire list is not there , you had to go back and visit search page again for List to show. How to solve this issue?
    List books = [];
    @override
    void initState(){
    super.initState();
    getBooks();
    }
    Future getBooks({int index = 0}) async{
    final books = await GoogleSheetApi.getAllBooks();
    setState(() {
    this.books = books;
    });
    }
    @override
    Widget build(BuildContext context) {
    return Scaffold(
    appBar: AppBar(
    title: Text('Search & Filter'),
    ),
    body: Column(
    children: [
    Container(
    margin: EdgeInsets.all(16),
    child: TextField(
    controller: controller,
    decoration: InputDecoration(
    prefixIcon: const Icon(Icons.search),
    hintText: 'Book Title',
    border: OutlineInputBorder(
    borderRadius: BorderRadius.circular(20),
    borderSide: const BorderSide(color: Colors.blue),
    )
    ),
    onChanged: searchBook
    ),
    ),
    Expanded(
    child: ListView.builder(
    itemCount: books.length,
    itemBuilder: (context, index) {
    final book = books[index];
    return ListTile( title: Text(book.title
    ),
    );
    }))
    ],
    ),
    );
    }
    void searchBook(String query) {
    final suggestions = books.where((book) {
    final bookTitle = books.name.toLowerCase();
    final input = query.toLowerCase();
    return bookTitle.contains(input);
    }).toList();
    setState(() => books = suggestions);
    }

    • @__mothership__8475
      @__mothership__8475 2 роки тому

      @@HeyFlutter there is no error message , the code is working but let’s say there are three books named (hello, world,there) . If I search world then book with world as a suggestion will be there but I don’t want to search for that and I erase the sentence world and type hello , then there is no suggestion as the list is not there now something like that

    • @__mothership__8475
      @__mothership__8475 2 роки тому

      @@HeyFlutter I think this is because
      I am making an empty list first
      List book = []
      and then getting the list using getBook method
      And Giving book list to suggestion in setState
      But you did not make it empty first
      You did List book = allBooks
      So there your list is not empty first
      Maybe this is the issue here
      So how to get all List like that when using api Data without setting it empty first and then initialise in initState