FutureBuilder in Flutter Tutorial | Dart | Flutter Basics

Поделиться
HTML-код
  • Опубликовано: 10 дек 2021
  • In this Tutorial we are going to take a deep dive into Future Builder and understand why we need to use FutureBuilders, how it affects our app's performance and a general description of what happens behind the scenes of FutureBuilder widget. We will even fetch data from an API and display it in our app using FutureBuilder.
    We will also have a look at FutureBuilder v/s ListViewBuilder in this video understanding the differences in them!
    #flutter #futurebuilder #dart
    Links:
    API: jsonplaceholder.typicode.com/...
    HTTP Package: pub.dev/packages/http
    Connect With Me Here:
    / optimalcoding
    namanrivaan@gmail.com
    github.com/rivaanranawat
    / namanrivaan
  • ХоббиХобби

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

  • @SHASHANKSHEKHARIIITDharwad
    @SHASHANKSHEKHARIIITDharwad 7 месяцев назад +1

    the volume is just on the left side.🤭...anyhow great video.

    • @RivaanRanawat
      @RivaanRanawat  7 месяцев назад +1

      Sorry about that! Was one of the first videos of the channel. Fixed in the videos after this

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

    How to reuse this FutureBuilder widget in a Tab bar view?

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

    How come the future isn’t called over and over on build ?
    When assigning a value to Any variable declared in State, we don’t have to use setState? No wonder my widgets keep getting redrawn !!😅

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

      No no. setState is only used when you want to rerun the build function. So basically whenever you assign a value to a variable, the variable gets that particular value. But when displayed on screen, it doesn't get updated. Using setState, we just rerun the build function.

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

      @@RivaanRanawat Cool. Thanks

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

    please make a video on Streams 🫶👏🙏