Future And Stream Provider Simply Explained

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • 👉 Pre Sign Up to Flutter Learning Platform :
    learncodecode.com/fluter-lear...
    🔥 Check out my courses - zukunf.com/courses
    🎨 Source code:
    pub.dev/packages/provider
    dart.dev/codelabs/async-await
    ⏰ Timeline:
    00:00 - Introduction
    00:28 - What is a Future Provider?
    01:23 - What is a Future?
    02:48 - 2 types of Firestore data
    03:06 - Get a collection of documents with Future Provider
    05:09 - Future provider to get a Firestore document
    06:32 - One property about Futures
    06:49 - What is a StreamProvider?
    07:17 - What is a Stream?
    08:08 - Single Document from StreamProvider
    09:12 - Collection of Document from StreamProvider
    10:13 - Challenge
    🦋 Hear my thoughts on Twitter -
    / thehappyharis
    📷 Get updates frequently on Instagram -
    / thehappyharis
    🤓 See daily learnings on LinkedIn -
    / muhammad-haris-bin-sam...
    😂 Watch my funny side on TikTok -
    / thehappyharis
    📘 Rarely here, but why not Facebook:
    / happy-hilarious-haris-...
  • Zábava

Komentáře • 18

  • @khelasports7396
    @khelasports7396 Před 2 lety

    Thanks bro

  • @aakashparmar560
    @aakashparmar560 Před 4 lety +2

    Can you make a video on how to use animations in our app.

  • @sankaranarayananp8407
    @sankaranarayananp8407 Před 2 lety

    If we create our own stream then if it is affect our app performance?

  • @ShadowBeatXPlaysMC
    @ShadowBeatXPlaysMC Před 2 lety

    but if stream is completing and return(or update) the task, why do we need to use future?

  • @jayamuruganj5091
    @jayamuruganj5091 Před 4 lety

    super bro

  • @sagnikbhattacharya1062
    @sagnikbhattacharya1062 Před 3 lety +1

    Please make one with riverpod and HookWidget

  • @justnails5059
    @justnails5059 Před 4 lety +2

    Could you make a video how to use firestore collection and get in the app the documents from it but just for logged user in firebase AUTH?

  • @davebound268
    @davebound268 Před 3 lety

    Slide at 5.34 shows .documents('id').get(), but the following slide, on line 5 just shows .getDocuments(). Is this a mistake?

    • @LearnFlutterCode
      @LearnFlutterCode  Před 3 lety

      Yes you are right. It should be getDocuments. However, if you use the new firestore flutter sdk, its get.

  • @Adnankhan545
    @Adnankhan545 Před 2 lety

    Could you make a video on Riverpod? please

  • @francescofreddi4374
    @francescofreddi4374 Před 3 lety +1

    Riverpod solve last problem!!

  • @yakine13
    @yakine13 Před 4 lety

    Hello man, As always I love your video, How can I contact you?

  • @sunilk9760
    @sunilk9760 Před 3 lety

    Stream: sequence of bytes

  • @mahmudizukri
    @mahmudizukri Před 2 lety

    pls make a new tutorial, bcs there's an update

  • @trapeye3464
    @trapeye3464 Před 3 lety +2

    seriously why view so little

  • @vinayreddypulagam
    @vinayreddypulagam Před 4 lety +1

    Proxy in-depth please

  • @exploringflorida9309
    @exploringflorida9309 Před 3 lety +1

    StreamProvider starts at 6:49