Flutter StreamBuilder Widget

Поделиться
HTML-код
  • Опубликовано: 29 мар 2023
  • This Tutorial will show you how to use the StreamBuilder with flutter. To learn more about every flutter widgets, you can check our flutter playlist about all flutter widgets here: • Flutter AboutDialog Wi...
    This was how to make and use the StreamBuilder widget within your Flutter app
    COURSES
    Flutter courses (Beginner & Advanced): fluttermapp.com/
    OVERVIEW
    0:00​ StreamBuilder Flutter
    MISSION
    Our mission at Flutter Mapp (Flutter Mobile App) is to help purpose driven Flutter developers go full-time doing what they love and making an impact through coding. We achieve this with useful Flutter tips and straight to the point Flutter videos.
    RECOMMENDED VIDEOS
    Playlist of more than 200 Flutter tips: • 35 Flutter Tips That W...
    Learn Flutter in 1 hour: • Flutter Tutorial For B...
    Zero to Hero Flutter Course (Beginners): • Video
    Hero to Pro Flutter Course (Advanced): • Video
    EDITOR
    Amaan Ansari: / amaan_0605
    SOCIAL MEDIA:
    Instagram : fluttermapp
    Twitter : FlutterMapp
    Website: www.fluttermapp.com
    Discord Invite: / discord
    CONTACT
    For business inquiries email me here: info@fluttermapp.com
    Website: fluttermapp.com
    #FlutterMapp
    #Flutter

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

  • @joshuanwokoye
    @joshuanwokoye Год назад +1

    Short and straight to the point

  • @indrasaputraahmadi3449
    @indrasaputraahmadi3449 6 месяцев назад

    as always, clear and straightforward

  • @firasnizam
    @firasnizam Год назад

    very good example, and very clear

  • @30vijaytyagi9
    @30vijaytyagi9 5 месяцев назад +1

    Thank You Sir❤

  • @krisd9506
    @krisd9506 11 месяцев назад

    What if you don't want to display the data piecemeal as it arrives? If you're receiving data packets for something larger than a few values and will only display the set of data when you've received all of the packets and have assembled them into that data. XModem, for example. The small packets are 128 bytes and you don't do anything with a packet until you've received all of the 128 bytes. I only seem to be able to find examples where data from the stream is being displayed as it arrives and not collected into a list or similar before doing something with it.

  • @hakimimdnoor5634
    @hakimimdnoor5634 Год назад +1

    Is it good practise to display list of data from firestore collection using stream builder?

    • @dhiaeddineabdelli4296
      @dhiaeddineabdelli4296 Год назад +1

      why not ?

    • @labudsoft
      @labudsoft 11 месяцев назад

      of course, say you have a gym app and you need to return the use the list of his workouts this week, you can do it there is no problem just make sure you aren't making a list too long to scroll like 50 listTiles, its a bad user experience

    • @prabinlamsal74
      @prabinlamsal74 11 месяцев назад

      @@dhiaeddineabdelli4296 Its not a good practice because writing logic in widget tree is not preferred. Something like bloc can be considered a good practice. (You can use bloc and emit.foreach() for emitting for each snapshot.)

  • @mcgyverbasaya6748
    @mcgyverbasaya6748 Год назад

    What is the difference between streambuilder and futurebuilder? It seems the same.

    • @mthsena
      @mthsena Год назад +1

      Basically are same, but streambuilder is for streams, and futurebuilder for async requests.

    • @luna_light_4219
      @luna_light_4219 Год назад +1

      The StreamBuilder is for streams, that means that it will updates you're view when new values arrives.
      FutureBuilder is for Future values, it means that when the result of the async request is received, the Future is finished and you can't have new values in it.

  • @matiast02
    @matiast02 Год назад

    keep going 🦾